address
|
ref clock
|
st when poll
|
reach
|
delay offset disp
|
~10.1.1.2
|
127.127.1.1
|
3 14 64
|
3
|
0.000 -280073 3939.7
|
*sys.peer, # selected, +candidate, -outlyer, x falseticker, ~ configured
Issue the debug ntp all command to see NTP activity on R1 as it synchronizes with R2.
R1# debug ntp all
NTP events debugging is on
NTP core messages debugging is on
NTP clock adjustments debugging is on NTP reference clocks debugging is on NTP packets debugging is on
Dec 17 20.12:18.554: NTP message sent to 10.1.1.2, from interface 'Serial0/0/0' (10.1.1.1).
Dec 17 20.12:18.574: NTP message received from 10.1.1.2 on interface 'Serial0/0/0' (10.1.1.1).
Dec 17 20:12:18.574: NTP Core(DEBUG): ntp_receive: message received
Dec 17 20:12:18.574: NTP Core(DEBUG): ntp_receive: peer is 0x645A3120, next action is 1.
Dec 17 20:12:18.574: NTP Core(DEBUG): receive: packet given to process_packet Dec 17 20:12:18.578: NTP Core(INFO): system event 'event_peer/strat_chg' (0x04) status 'sync_alarm, sync_ntp, 5 events, event_clock_reset' (0xC655)
Dec 17 20:12:18.578: NTP Core(INFO): synchronized to 10.1.1.2, stratum 3
Dec 17 20:12:18.578: NTP Core(INFO): system event 'event_sync_chg' (0x03) status 'leap_none, sync_ntp, 6 events, event_peer/strat_chg' (0x664)
Dec 17 20:12:18.578: NTP Core(NOTICE): Clock is synchronized.
Dec 17 20:12:18.578: NTP Core(INFO): system event 'event_peer/strat_chg' (0x04)
status 'leap_none, sync_ntp, 7 events, event_sync_chg' (0x673) Dec 17 20:12:23.554: NTP: Calendar updated.
Issue the undebug all or the no debug ntp all command to turn off debugging.
R1# undebug all
Verify the time on R1 after it has made an association with R2.
R1# show clock
*20:12:24.859 UTC Wed Dec 17 2014
Share with your friends: |