Cisco Systems SMC-169 Verifying the Status of the External Reference Clock, Examples, SMC-187

Page 19

Implementing NTP on Cisco IOS XR Software

How to Implement NTP on Cisco IOS XR Software

Verifying the Status of the External Reference Clock

This task explains how to verify the status of NTP components.

Note The commands can be entered in any order.

SUMMARY STEPS

1.show ntp associations [detail] [location node-id]

2.show ntp status [location node-id]

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

show ntp associations [detail] [location

Displays the status of NTP associations.

 

node-id]

 

 

Example:

 

 

RP/0/RP0/CPU0:router# show ntp associations

 

Step 2

 

 

show ntp status [location node-id]

Displays the status of NTP.

 

Example:

 

 

RP/0/RP0/CPU0:router# show ntp status

 

 

 

 

Examples

The following is sample output from the show ntp associations command:

RP/0/0/CPU0:router# show ntp associations

address

ref clock

st

when

poll reach

delay

offset

disp

+~127.127.1.1

127.127.1.1

5

5

1024

37

0.0

0.00

438.3

*~172.19.69.1

172.24.114.33

3

13

1024

1

2.0

67.16

0.0

* master (synced), # master (unsynced), + selected,

- candidate,

~ configured

The following is sample output from the show ntp status command:

RP/0/0/CPU0:router# show ntp status

Clock is synchronized, stratum 4, reference is 172.19.69.1

nominal freq is 1000.0000 Hz, actual freq is 999.9988 Hz, precision is 2**26 reference time is C54C131B.9EECF6CA (07:26:19.620 UTC Mon Nov 22 2004) clock offset is 66.3685 msec, root delay is 7.80 msec

root dispersion is 950.04 msec, peer dispersion is 3.38 msec

Cisco IOS XR System Management Configuration Guide

SMC-187

Image 19
Contents Implementing NTP on Cisco IOS XR Software SMC-170 NTP Functional OverviewPoll-Based Associations Configuring Poll-Based AssociationsSMC-171 SMC-172 Summary StepsBroadcast-Based NTP Associations Configuring Broadcast-Based NTP AssociationsSMC-173 SMC-174 NTP Access Groups Configuring NTP Access GroupsSMC-175 SMC-176 SMC-177 NTP Authentication Configuring 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 Examples Verifying the Status of the External Reference ClockSMC-187 Configuring Broadcast-Based Associations Example Configuring Poll-Based Associations ExampleSMC-188 Configuring NTP Authentication Example Configuring NTP Access Groups ExampleSMC-189 Disabling NTP on an Interface Example Configuring the Source IP Address for NTP Packets ExampleSMC-190 MIBs Updating the Hardware Clock ExampleRelated Documents StandardsTechnical Assistance RFCsSMC-192