Reference Guide
OS10(config)# ntp authentication-key 345 mdf 0 5A60910FED211F02
OS10(config)# ntp server 1.1.1.1 key 345
OS10(config)# ntp master 7
View NTP conguration
OS10(config)# do show running-configuration
!
ntp authenticate
ntp authentication-key 345 mdf 0 5A60910FED211F02
ntp server 1.1.1.1 key 345
ntp trusted-key 345
ntp master 7
...
NTP commands
ntp authenticate
Enables authentication of NTP trac between the device and the NTP time serving hosts.
Syntax
ntp authenticate
Parameters None
Default Not congured
Command Mode CONFIGURATION
Usage Information You must also congure an authentication key for NTP trac using the ntp authentication-key command.
The no version of this command disables NTP authentication.
Example
OS10(config)# ntp authenticate
Supported Releases 10.2.0E or later
ntp authenticate-key
Congures the authentication key for trusted time sources.
Syntax
ntp authenticate-key number md5 [0 | 7] key
Parameters
• number — Enter the authentication key number (1 to 4294967295).
• md5 — Set to MD5 encryption.
• 0 — Set to unencrypted format (default).
• 7 — Set to hidden encryption.
• key — Enter the authentication key.
Default 0
Command Mode CONFIGURATION
Usage Information The authentication number must be the same as the number parameter congured in the ntp trusted-key
command. Use the ntp authenticate command to enable NTP authentication.
506 System management