Command Reference NTP Commands
(Optional) Whether this key is encrypted, where, 0 indicates the key is
not encrypted, 7 indicates the key is encrypted simply. The key is not
encrypted by default.
NTP authentication key is not configured by default.
Global configuration mode.
Use this command to configure an NTP authentication key and enables the md5 algorithm for
authentication. Each key presents a unique key ID, which can be configured as a trusted key using
the ntp trusted-key command..
You can configure up to 1024 NTP authentication keys. However, each server can support only one
key.
The following example configures an NTP authentication key.
Ruijie(config)ntp authentication-key 6 md5 wooooop
Enables NTP authentication.
Configures an NTP trusted key.
Use this command to disable the device to receive NTP packets on the specified interface.
All NTP packets can be received by default.
Interface configuration mode.
The NTP message received on any interface can be provided to the client to carry out the clock
adjustment. The function can be set to shield the NTP message received from the corresponding
interface.