Configuring NTP Authentication
SUMMARY STEPS
1. configure
2. ntp
3. authenticate
4. authentication-key key-number md5 [clear | encrypted] key-name
5. trusted-key key-number
6. Use one of the following commands:
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
ntp
Example:
RP/0/RP0/CPU0:router(config)# ntp
Step 3
authenticate
Example:
RP/0/RP0/CPU0:router(config-ntp)#
authenticate
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
Step 5
trusted-key key-number
Example:
RP/0/RP0/CPU0:router(config-ntp)#
trusted-key 42
Step 6
Use one of the following commands:
• end
• commit
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
154
• end
• commit
Purpose
Enters NTP configuration mode.
Enables the NTP authentication feature.
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.
Defines trusted authentication keys.
• If a key is trusted, this router only synchronizes to a system that
uses this key in its NTP packets.
Saves configuration changes.
• When you issue the end command, the system prompts you to
commit changes:
Uncommitted changes found, commit them before
Implementing NTP