SUMMARY STEPS
1.
configure
2.
ntp
3.
master primary-reference-clock
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
Specifies PTP to be the NTP time source.
master primary-reference-clock
Example:
RP/0/RP0/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/RP0/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/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.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
160
Implementing NTP
Configuring NTP-PTP Interworking