![Cisco ASR 14000 Series Management Command Reference Download Page 430](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667430.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
NTP Commands on Cisco IOS XR Software
authenticate (NTP)
SMR-428
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
authenticate (NTP)
To enable Network Time Protocol (NTP) authentication, use the
authenticate
command in NTP
configuration mode. To restore the system to its default condition, use the
no
form of this command.
authenticate
no
authenticate
Syntax Description
This command has no arguments or keywords.
Defaults
No NTP authentication is configured.
Command Modes
NTP configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the
authenticate
command to enable NTP authentication. When NTP authentication is enabled, the
system does not synchronize to a time source unless it carries one of the authentication keys specified
by the
command. Packets failing the authentication check are dropped.
Task ID
Examples
The following example shows how to configure the system to synchronize only to a system that provides
an authentication key 42 in its NTP packets:
RP/0/RP0/CPU0:router(config)#
ntp
RP/0/RP0/CPU0:router(config-ntp)#
authenticate
RP/0/RP0/CPU0:router(config-ntp)#
authentication-key 42 md5 clear key1
RP/0/RP0/CPU0:router(config-ntp)#
trusted-key 42
Related Commands
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
ip-services
read, write
Command
Description
Defines an authentication key for NTP.
Designates the key or keys to be trusted.