Reference Guide
• prefer — Enter the keyword to set this NTP server as the preferred server.
5 Congure the NTP master and enter the stratum number that identies the NTP server hierarchy in CONFIGURATION mode (2 to 10,
default 8).
ntp master <2–10>
6 Save the conguration.
do commit
Congure NTP
OS10(config)# ntp authenticate
OS10(config)# ntp trusted-key 345
OS10(config)# ntp authentication-key 345 mdf 0 5A60910FED211F02
OS10(config)# ntp server 1.1.1.1 key 345
OS10(config)# ntp master 7
OS10(config)# do commit
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.
350 System management