CLI Reference Guide NTP Configuration Commands
ntp authenticate
Use this command to enable NTP authentication globally. Use the no form of this command to disable this
function.
ntp authenticate
no ntp authenticate
Global configuration mode.
If the global security identification mechanism is not used, the
synchronization communication is not encrypted. To enable
encrypted communication on the server, enable the security
identification mechanism and configure other keys globally.
The authentication standard is the trusted key specified by ntp
authentication-key and ntp trusted-key.
After an authentication key is configured and specified as the global
trusted key, enable the authentication mechanism.
Ruijie(config)#ntp authentication-key 6 md5 wooooop
Ruijie(config)#ntp trusted-key 6
Ruijie(config)#ntp authenticate
Set the global authentication key.
Configure the global trusted key.
ntp authentication-key
Use this command to configure a global NTP authentication key for the NTP server. Use the no form of this
command to cancel the global NTP authentication key.
ntp authentication-key key-id md5 key-string [enc-type]
no ntp authentication-key key-id
Key ID, in the range of 1 to 4294967295