PurposeCommand or Action
Example:
RP/0/RSP0/CPU0:router(config-ntp)#
authentication-key 42
md5 clear key1
Defines trusted authentication keys.
trusted-key key-number
Step 5
Example:
RP/0/RSP0/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
Example:
RP/0/RSP0/CPU0:router(config-ntp)# end
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.
or
RP/0/RSP0/CPU0:router(config-ntp)#
commit
â—¦
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.
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
217
Implementing NTP
Disabling NTP Services on a Specific Interface