Setting NTP State (ntp -d status)
Function
The ntp -d status command is used to enable or disable the NTP function.
Format
ipmcset -t ntp -d status -v status
Parameters
Parameter |
Description |
Value |
---|---|---|
status |
Specifies the NTP status. |
|
Usage Guidelines
None
Example
# Enable the NTP function.
iBMC:/->ipmcset -t ntp -d status -v enabled
Set NTP enable status (enabled) 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