To add a time source to the trusted list, use the ntp trusted-key command with a unique identifier. To disable this capability, use the no form of this command.
Specifies key numbers for trusted time sources that needs to be defined as NTP authentication keys. Supports up to 65535 numeric characters. |
Define this key as an NTP authentication key and then add this key to the trusted list before you add this key to an NTP server. Keys that are added to the trusted list can only be used that allows synchronization by the NTP server with the system.
/admin(config)# ntp trusted-key
1
/admin(config)# ntp trusted-key
2
/admin(config)# ntp trusted-key
3
/admin(config)# no ntp trusted-key
2
(Removes key 2 from the trusted list.)
/admin(config)# no ntp trusted-key
(Removes all keys from the trusted list.)
Allows synchronization of the software clock by the NTP server for the system. |
|