OcNOS-RON-6.3.1 : System Management Guide : System Management Configuration Guide : NTP Client Configuration : NTP Authentication
NTP Authentication
When you enable NTP authentication, the device synchronizes to a time source only if the source carries the authentication keys specified with the source by key identifier. The device drops any packets that fail the authentication check, and prevents them from updating the local clock.
Client
#configure terminal
Enter configure mode.
(config)#feature ntp vrf management
Enable feature on default or management VRF. By default this feature runs on management VRF..
(config)#ntp server 10.1.1.1 vrf management
Configure ntp server ip address.
(config)#ntp authenticate vrf management
Enable NTP Authenticate. NTP authentication is disabled by default.
(config)#ntp authentication-key 1234 md5 text vrf management
Configure ntp authentication key along with md5 value.
(config)#ntp trusted-key 1234 vrf management
Configure trusted key <1-65535>
(config)#exit
Exit from the Configure Mode.
Validation Commands
#show ntp authentication-status
Authentication enabled
 
#show ntp authentication-keys
--------------------------
Auth Key MD5 String
--------------------------
1234 SWWX
 
#show ntp trusted-keys
Trusted Keys:
1234
 
Last modified date: 07-14-2023