Cisco Systems SMC-169 manual SMC-183

Page 15

Implementing NTP on Cisco IOS XR Software

How to Implement NTP on Cisco IOS XR Software

 

Command or Action

Purpose

Step 3

 

 

source interface-type interface-instance

Configures an interface from which the IP source address

 

 

will be taken.

 

Example:

Note

This interface will be used for the source address for

 

RP/0/RP0/CPU0:router(config-ntp)# source POS

 

all packets sent to all destinations. If a source

 

0/0/0/1

 

address is to be used for a specific association, use

 

 

 

the source parameter on the peer or server

 

 

 

command shown in the “Configuring Poll-Based

 

 

 

Associations” task.

Step 4

 

 

end

Saves configuration changes.

 

or

When you issue the end command, the system prompts

 

 

 

commit

 

you to commit changes:

 

 

 

Uncommitted changes found, commit them before

 

Example:

 

exiting(yes/no/cancel)?

 

RP/0/RP0/CPU0:router(config)# end

 

[cancel]:

 

 

 

 

or

 

Entering yes saves configuration changes to the

 

RP/0/RP0/CPU0:router(config)# commit

 

 

 

running configuration file, exits the configuration

 

 

 

session, and returns the router to EXEC mode.

 

 

 

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.

 

 

 

 

Cisco IOS XR System Management Configuration Guide

SMC-183

Image 15
Contents Implementing NTP on Cisco IOS XR Software SMC-170 NTP Functional OverviewConfiguring Poll-Based Associations Poll-Based AssociationsSMC-171 SMC-172 Summary StepsConfiguring Broadcast-Based NTP Associations Broadcast-Based NTP AssociationsSMC-173 SMC-174 Configuring NTP Access Groups NTP Access GroupsSMC-175 SMC-176 SMC-177 Configuring NTP Authentication NTP AuthenticationSMC-178 SMC-179 Supported is md5SMC-180 Disabling NTP Services on a Specific InterfaceSMC-181 SMC-182 Configuring the Source IP Address for NTP PacketsSMC-183 SMC-184 Configuring the System as an Authoritative NTP ServerSMC-185 Updating the Hardware ClockSMC-186 Verifying the Status of the External Reference Clock ExamplesSMC-187 Configuring Poll-Based Associations Example Configuring Broadcast-Based Associations ExampleSMC-188 Configuring NTP Access Groups Example Configuring NTP Authentication ExampleSMC-189 Configuring the Source IP Address for NTP Packets Example Disabling NTP on an Interface ExampleSMC-190 MIBs Updating the Hardware Clock ExampleRelated Documents StandardsRFCs Technical AssistanceSMC-192