PurposeCommand or Action
Specifies PTP to be the NTP time source.master primary-reference-clock
Example:
RP/0/RSP0/CPU0:router(config-ntp)#
master primary-reference-clock
Step 3
Saves configuration changes.Use one of the following commands:
Step 4
•
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.
Updating the Hardware Clock
On devices that have hardware clocks (system calendars), you can configure the hardware clock to be
periodically updated from the software clock. This is advisable for devices using NTP, because the time and
date on the software clock (set using NTP) is more accurate than the hardware clock. The time setting on the
hardware clock has the potential to drift slightly over time.
No specific command enables NTP; the first NTP configuration command that you issue enables NTP.Note
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
223
Implementing NTP
Updating the Hardware Clock