Setting an Address for the Alternate NTP Server (ntp -d alternativeserver)
Function
The ntp -d alternativeserver command is used to set an address for the alternate NTP server.
Format
ipmcset -t ntp -d alternativeserver -v addr
Parameters
Parameter |
Description |
Value |
---|---|---|
addr |
Specifies the address of the alternate NTP server. |
The value can be any of the following:
NOTE:
The value 0.0.0.0 indicates that the address of the alternate NTP server is deleted. |
Usage Guidelines
Linux and Windows NTP servers are supported.
Example
# Set the alternate 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