Cisco Systems SMC-169 Updating the Hardware Clock, SMC-185, Command or Action, Purpose, Example

Models: SMC-169

1 24
Download 24 pages 10.67 Kb
Page 17
Image 17
Updating the Hardware Clock

Implementing NTP on Cisco IOS XR Software

How to Implement NTP on Cisco IOS XR Software

 

Command or Action

Purpose

Step 3

 

 

master stratum

Makes the router an authoritative NTP server.

 

 

Note Use the master command with caution. It is very

 

Example:

easy to override valid time sources using this

 

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

command, especially if a low stratum number is

 

 

configured. Configuring multiple machines in the

 

 

same network with the master command can cause

 

 

instability in timekeeping if the machines do not

 

 

agree on the time.

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.

 

 

 

Updating the Hardware Clock

This task explains how to configure the hardware clock to be periodically updated from the software clock running NTP.

On devices that have hardware clocks (system calendars), you can configure the hardware clock to be periodically updated from the software clock. This is advisable for any device using NTP, because the time and date on the software clock (set using NTP) is more accurate than the hardware clock, because the time setting on the hardware clock has the potential to drift slightly over time.

Note No specific command enables NTP; the first NTP configuration command that you issue enables NTP.

Cisco IOS XR System Management Configuration Guide

SMC-185

Page 17
Image 17
Cisco Systems SMC-169 manual Updating the Hardware Clock, SMC-185, Command or Action, Purpose, Example