Setting the Method for Obtaining NTP Information (ntp -d mode)
Function
The ntp -d mode command is used to set how to obtain NTP information.
Format
ipmcset -t ntp -d mode -v mode
Parameters
Parameter |
Description |
Value |
---|---|---|
mode |
Specifies how to obtain NTP information. |
|
Usage Guidelines
If mode is DHCPv4, you do not need to set the time zone data.
Example
# Enable NTP information to be manually set.
iBMC:/->ipmcset -t ntp -d mode -v manual
Set NTP mode (manual) 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