Command Reference NTP Commands
Global configuration mode.
If NTP authentication is disabled, the synchronization communication is not encrypted. To enable
encrypted communication on the server, enable the NTP authentication and configure other keys
globally.
NTP authentication is implemented through the trusted key specified by the ntp authentication-key
and ntp trusted-key commands.
After an authentication key is configured and specified as the global trusted key, enable NTP
authentication.
Ruijie(config)#ntp authentication-key 6 md5 wooooop
Ruijie(config)#ntp trusted-key 6
Ruijie(config)#ntp authenticate
Sets the global authentication key.
Configures the global trusted key.
3.4 ntp authentication-key
Use this command to configure an NTP authentication key. Use the no form of this command to
remove the NTP authentication key.
ntp authentication-key key-id md5 key-string [enc-type]
no ntp authentication-key key-id
Key ID, ranging from 1 to 4294967295.