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