A SERVICE OF

logo

Implementing NTP on Cisco IOS XR Software
How to Implement NTP on Cisco IOS XR Software
SMC-179
Cisco IOS XR System Management Configuration Guide
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
ntp
Example:
RP/0/RP0/CPU0:router(config)# ntp
Enters NTP configuration mode.
Step 3
authenticate
Example:
RP/0/RP0/CPU0:router(config-ntp)# authenticate
Enables the NTP authentication feature.
Step 4
authentication-key
key-number
md5 [clear |
encrypted] key-name
Example:
RP/0/RP0/CPU0:router(config-ntp)#
authentication-key 42 md5 clear key1
Defines the authentication keys.
Each key has a key number, a type, a value, and,
optionally, a name. Currently the only key type
supported is md5.
Step 5
trusted-key
key-number
Example:
RP/0/RP0/CPU0:router(config-ntp)# trusted-key
42
Defines trusted authentication keys.
If a key is trusted, this router only synchronizes to a
system that uses this key in its NTP packets.
Step 6
end
or
commit
Example:
RP/0/RP0/CPU0:router(config)# end
or
RP/0/RP0/CPU0:router(config)# commit
Saves configuration changes.
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting(yes/no/cancel)?
[cancel]:
Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
Entering no exits the configuration session and
returns the router to EXEC mode without
committing the configuration changes.
Entering cancel leaves the router in the current
configuration session without exiting or
committing the configuration changes.
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.