ntp authentication-key
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
ntp authentication-key
To configure a Network Time Protocol (NTP) authentication key, use the ntp authentication-key
command. To remove the NTP authentication key, use the no form of this command.
Syntax Description
number
Defaults
Disabled
Command Modes
Global configuration mode
Command History
Release
6.0(2)U(2)1
Usage Guidelines
The device does not synchronize to a time source unless the source has one of these authentication keys
and the key number is specified by the ntp trusted-key command.
This command does not require a license.
Examples
This example shows how to configure an NTP authentication key:
switch# configure terminal
switch(config)# ntp authentication-key 42
switch(config)#
This example shows how to remove the NTP authentication key:
switch# configure terminal
switch(config)# no ntp authentication-key 42
switch(config)#
Related Commands
Command
show ntp
authentication-key
Cisco Nexus 3000 Series NX-OS System Management Command Reference
-SM-134
ntp authentication-key number
no ntp authentication-key number
Authentication key number. The range is from 1 to 65535.
Modification
This command was introduced.
Description
Configures one or more keys that a time source must provide in its NTP
packets in order for the device to synchronize to it.
Chapter
System Management Commands
OL-29557-04