ipmcset -t ntp -d extraserver
更新时间: 2026/07/16
在Gitcode上查看源码

ipmcset -t ntp -d extraserver

返回总览 | 返回命令索引

命令功能

设置额外 NTP 服务器地址

命令格式

text
ipmcset -t ntp -d extraserver -v <addr>

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
addrReqBodystring---

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
addrRspBody----
NTPServerCountRspBody----
addr_tab_lenRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1List/bmc/kepler/Managersbmc.kepler.Managers.Ntp--{"Members": "ntp_list"}
2Property${ProcessingFlow[1]/Destination/ntp_list[1]}bmc.kepler.Managers.Ntp--{"NTPServerCount": "NTPServerCount"}
3Property${ProcessingFlow[1]/Destination/ntp_list[1]}bmc.kepler.Managers.Ntp-{"ExtraServers": "${Statements/addr_tab()}"}-
4Property${ProcessingFlow[1]/Destination/ntp_list[1]}bmc.kepler.Managers.Ntp-{"ExtraServers": "${Statements/addr_tab()}"}-

使用示例

text
ipmcset -t ntp -d extraserver -v <addr>

输出样例

ScenarioOutputSource
成功Set NTP extra server (<value>) successfully.interface_config/cli/echoes/ipmcset/ntp_extraserver
失败Set NTP extra server (<value>) failed.interface_config/cli/echoes/ipmcset/ntp_extraserver

来源信息

ItemValue
命令类型ipmcset
targetntp
dataitemextraserver
URI/cli/v1/ntp/extraserver
Interface TypePatch
配置来源interface_config/cli/ipmcset/ntp.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37