Reference Guide

prefer — Enter the keyword to set this NTP server as the preferred server.
5 Congure the NTP master and enter the stratum number that identies the NTP server hierarchy in CONFIGURATION mode (2 to 10,
default 8).
ntp master <2–10>
6 Save the conguration.
do commit
Congure 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 conguration
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 trac between the device and the NTP time serving hosts.
Syntax
ntp authenticate
Parameters None
Default Not congured
Command Mode CONFIGURATION
Usage Information You must also congure an authentication key for NTP trac 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
Congures 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