Implementing NTP
Command or Action
Example:
RP/0/RSP0/CPU0:router(config-ntp)#
authentication-key 42
md5 clear key1
Step 5
trusted-key key-number
Example:
RP/0/RSP0/CPU0:router(config-ntp)#
trusted-key 42
Step 6
Use one of the following commands:
• end
• commit
Example:
RP/0/RSP0/CPU0:router(config-ntp)# end
or
RP/0/RSP0/CPU0:router(config-ntp)#
commit
Disabling NTP Services on a Specific Interface
NTP services are disabled on all interfaces by default.
NTP is enabled globally when any NTP commands are entered. You can selectively prevent NTP packets
from being received through a specific interface by turning off NTP on a given interface.
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
Disabling NTP Services on a Specific Interface
Purpose
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
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.
217