CLI Reference Guide NTP Configuration Commands
Global configuration mode.
8 consecutive packets are synchronized for the first synchronization of
NTP and each server. Then the synchronization occurs every one
minute. This command is used to complete the instant synchronization
during the interval of auto-sync.
The following example synchronizes the NTP realtime.
Ruijie(config)#ntp synchronize
ntp trusted-key
Use this command to set a key at the global trusted key.
ntp trusted-key key-id
no ntp trusted-key key-id
Global trusted key ID, in the range of 1 to
4294967295.
Global configuration mode.
The NTP communication parties must use the same trusted key. The
key is identified by ID and is not transmitted to improve security.