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 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