Purpose
Command or Action
or
RP/0/RP0/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.
Configuring the System as an Authoritative NTP Server
You can configure the router to act as an authoritative NTP server, even if the system is not synchronized to
an outside time source.
No specific command enables NTP; the first NTP configuration command that you issue enables NTP.
Note
SUMMARY STEPS
1.
configure
2.
ntp
3.
master stratum
4.
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
Makes the router an authoritative NTP server.
master stratum
Step 3
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
158
Implementing NTP
Configuring the System as an Authoritative NTP Server