Purpose
Command or Action
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.
•
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.
SUMMARY STEPS
1.
configure
2.
ntp
3.
Use one of the following commands:
•
no interface type interface-path-id
•
interface type interface-path-id disable
4.
Use one of the following commands:
•
end
•
commit
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
155
Implementing NTP
Disabling NTP Services on a Specific Interface