Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting an Address for the Alternative NTP Server (ntp -d alternativeserver)
Function
The ntp -d alternativeserver command is used to set an address for the alternative NTP server.
Parameters
Parameter |
Description |
Value |
---|---|---|
addr |
Indicates the address of the alternative NTP server. |
The value can be any of the following:
|
Usage Guidelines
- The iBMC versions earlier than V312 support only the Linux NTP servers.
- The iBMC supports Linux and Windows NTP servers from V312.
Example
# Set the alternative NTP server address to fc00::1234.
iBMC:/-> ipmcset -t ntp -d alternativeserver -v fc00::1234 Set NTP alternative server (fc00::1234) successfully.
# Query NTP information.
iBMC:/->ipmcget -d ntpinfo Status : enabled Mode : manual Preferred Server : dhcp1.com Alternative Server : fc00::1234 Extra Server : 192.168.2.2 Synchronize : successful Auth Enable : enabled Group Key : imported