Setup Guide

To congure NTP authentication, use the following commands.
1 Enable NTP authentication.
CONFIGURATION mode
ntp authenticate
2 Set an authentication key.
CONFIGURATION mode
ntp authentication-key number {md5 | sha1} key
Congure the following parameters:
number: the range is from 1 to 65534. This number must be the same as the number in the ntp trusted-key command.
key: enter a text string. This text string is encrypted.
3 Dene a trusted key.
CONFIGURATION mode
ntp trusted-key number
Congure a number from 1 to 65534.
The number must be the same as the number used in the ntp authentication-key command.
4 Congure an NTP server.
CONFIGURATION mode
ntp server [vrf] <vrf-name> {hostname | ipv4-address |ipv6-address} [ key keyid] [prefer]
[version number][minpoll] [maxpoll]
Congure the IP address of a server and the following optional parameters:
vrf-name : Enter the name of the VRF through which the NTP server is reachable.
hostname : Enter the keyword hostname to see the IP address or host name of the remote device.
ipv4-address : Enter an IPv4 address in dotted decimal format (A.B.C.D).
ipv6-address : Enter an IPv6 address in the format 0000:0000:0000:0000:0000:0000:0000:0000. Elision of zeros is
supported.
key keyid : Congure a text string as the key exchanged between the NTP server and the client.
prefer: Enter the keyword prefer to set this NTP server as the preferred server.
version number : Enter a number as the NTP version. The range is from 1 to 4.
minpoll polling-interval: Enter the minpoll value. The range is from 4 to 16.
maxpoll polling-interval: Enter the maxpoll value. The range is from 4 to 16.
5 Congure the switch as NTP master.
CONFIGURATION mode
ntp master <stratum>
To congure the switch as NTP Server use the ntp master<stratum> command. stratum number identies the NTP Server's
hierarchy.
Examples of Conguring and Viewing an NTP Conguration
The following example shows conguring an NTP server.
Dell EMC(conf)#show running-config ntp
!
ntp master
ntp server 10.16.127.44
ntp server 10.16.127.86
System Time and Date
1047