DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Enters NTP configuration mode.
ntp
Example:
RP/0/RP0/CPU0:router(config)# ntp
Step 2
Disables NTP services on the specified interface.
Use one of the following commands:
Step 3
•
no interface type interface-path-id
•
interface type interface-path-id disable
Example:
RP/0/RP0/CPU0:router(config-ntp)# no
interface pos 0/0/0/1
or
RP/0/RP0/CPU0:router(config-ntp)# interface
POS 0/0/0/1 disable
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.
•
Use the
commit
command to save the configuration changes
to the running configuration file and remain within the
configuration session.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
156
Implementing NTP
Disabling NTP Services on a Specific Interface