Cisco Systems SMC-169 manual SMC-186

Page 18

Implementing NTP on Cisco IOS XR Software

How to Implement NTP on Cisco IOS XR Software

SUMMARY STEPS

1.configure

2.ntp

3.update-calendar

4.end or commit

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

configure

Enters global configuration mode.

 

Example:

 

 

RP/0/RP0/CPU0:router# configure

 

Step 2

 

 

ntp

Enters NTP configuration mode.

 

Example:

 

 

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

 

Step 3

 

 

update-calendar

Configures the system to update its hardware clock from the

 

 

software clock at periodic intervals.

 

Example:

 

 

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

 

 

update-calendar

 

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-186

Image 18
Contents Implementing NTP on Cisco IOS XR Software NTP Functional Overview SMC-170Configuring Poll-Based Associations Poll-Based AssociationsSMC-171 Summary Steps SMC-172Configuring 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 Supported is md5 SMC-179Disabling NTP Services on a Specific Interface SMC-180SMC-181 Configuring the Source IP Address for NTP Packets SMC-182SMC-183 Configuring the System as an Authoritative NTP Server SMC-184Updating the Hardware Clock SMC-185SMC-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 Standards Updating the Hardware Clock ExampleRelated Documents MIBsRFCs Technical AssistanceSMC-192