debug ip ntp
Displays NTP system information.
Syntax
debug ip ntp
[
algorithms
|
association
|
broadcast
|
clockadjust
|
errors
|
packet
|
server
]
Parameters
Modes
Privileged EXEC mode
Examples
The following example displays information about the NTP system algorithms.
device# debug ip ntp algorithms NTP: ntp_peer_unfit: dist exceeded - root dist 16.00527999 of peer 10.25.96.13 has exceeded max dist 1.50096000 NTP: ntp_peer_unfit: unreachable - peer 10.25.96.13 is not reachable [peer->reach 0] device(config-ntp)# NTP: ntp_clock_filter: Adding offset 0, delay 0, disp 16 to filter[0] for peer 10.25.96.13 NTP: ntp_clock_filter: No acceptable samples available NTP: ntp_clock_filter: Adding offset 0.01133625, delay 0.27379156, disp 0.00001936 to filter[1] for peer 10.25.96.13 NTP: ntp_clock_filter: mitigated sample stats: n 1 offset 0.01133625 del 0.27379156 dsp 7.93750968 jit 0.00001525 NTP: ntp_peer_unfit: dist exceeded - root dist 8.07442072 of peer 10.25.96.13 has exceeded max dist 1.50096000 NTP: ntp_clock_select: number of final survivors 0 and leap vote 0 NTP: ntp_clock_select: No survivors found. sys_peer is set to NULL NTP: ntp_clock_filter: Adding offset 0.02724471, delay 0.30800050, disp 0.00001988 to filter[2] for peer 10.25.96.13 NTP: ntp_clock_filter: mitigated sample stats: n 2 offset 0.02724471 del 0.30800050 dsp 3.93752228 jit 0.00001525 NTP: ntp_peer_unfit: dist exceeded - root dist 4.09153779 of peer 10.25.96.13 has exceeded max dist 1.50096000 NTP: ntp_clock_update: at 430 sample 430 associd 2 NTP: ntp_rstclock: mu 67 new state 5 old state 5 offset -0.00001326
The following example displays information about the NTP server and peer association.
device# debug ip ntp association NTP: peer_clear: peer 10.25.96.13 next 646 refid INIT NTP: newpeer: 10.25.96.13 mode client vers 4 poll 6 10 key 00000000 Flags Flags -> iBURST SYSLOG: <14>Mar 21 17:44:33 Murali NTP: client association is mobilized for 10.25.96.13. SYSLOG: <14>Mar 21 17:44:33 Murali NTP: The system clock is not synchronized to any time source. SYSLOG: <14>Mar 21 17:44:40 Murali NTP: Stratum is changed to 2. SYSLOG: <14>Mar 21 17:44:40 Murali NTP: System clock is synchronized to 10.25.96.13.
The following example displays information about the NTP clock-adjust process.
device# debug ip ntp clockadjust NTP: ntp_clock_update: at 327 sample 327 associd 3 NTP: ntp_local_clock: hufbuf - ptr 1 mindly 0.23329046 huffpuff correction -0.00067095 NTP: ntp_local_clock: clk offset 0.00917431 clk jit 0 clk stab 0 sys_poll 6 NTP: ntp_set_freq: drift 0.00000010, old freq 50000000 NTP: ntp_set_freq: new freq 49999995 NTP: ntp_adj_host_clock: new offset 0.00917431, freq 49999995 NTP: Adjusting the clock. offset 0.00917431, calib used 251687 NTP: After adjusting the clock. offset 0.00817431, calib used 252687 NTP: Adjusting the clock. offset 0.00817431, calib used 252687 NTP: After adjusting the clock. offset 0.00717431, calib used 253687 NTP: Adjusting the clock. offset 0.00717431, calib used 253687
The following example displays information about the NTP input and output packets.
device# debug ip ntp packet NTP: Sending the NTP client packet to 10.25.96.13 port 123 via port id INVALID Leap 3, Version 4, Mode client, Stratum 16, Poll 6, Precision 2**-16, Root delay 0, Root disp 167, Ref Id INIT, Ref time 0.0 (00:00:00.0 GMT+00 Mon Jan 01 0) Org 0.0 (00:00:00.0 GMT+00 Mon Jan 01 0) Rec 0.0 (00:00:00.0 GMT+00 Mon Jan 01 0) Xmt 230.745068249 (00:03:50.745068249 GMT+00 Mon Jan 01 0) pkt len = 48 key 0 NTP: Received NTP server packet from 10.25.96.13 on port 123 via port id mgmt1 at 00:03:50.1959316492 GMT+00 Mon Jan 01 0 Leap 0, Version 4, Mode server, Stratum 1, Poll 6, Precision 2**-29, Root delay 0, Root disp 0, Ref Id 10.67.84.83, Ref time 3572876227.2200200252 (17:37:07.2200200252 GMT+00 Thu Mar 21 2013) Org 230.745068249 (00:03:50.745068249 GMT+00 Mon Jan 01 0) Rec 3572876241.37257170 (17:37:21.37257170 GMT+00 Thu Mar 21 2013) Xmt 3572876241.37302765 (17:37:21.37302765 GMT+00 Thu Mar 21 2013) pkt len = 48 key 0 NTP: Sending the NTP client packet to 10.25.96.13 port 123 via port id INVALID Leap 3, Version 4, Mode client, Stratum 16, Poll 6, Precision 2**-16, Root delay 0, Root disp 169, Ref Id INIT, Ref time 0.0 (00:00:00.0 GMT+00 Mon Jan 01 0) Org 3572876241.37302765 (17:37:21.37302765 GMT+00 Thu Mar 21 2013) Rec 230.1959316492 (00:03:50.1959316492 GMT+00 Mon Jan 01 0) Xmt 232.784360585 (00:03:52.784360585 GMT+00 Mon Jan 01 0) pkt len = 48 key 0 NTP: Received NTP server packet from 10.25.96.13 on port 123 via port id mgmt1 at 00:03:52.1904063455 GMT+00 Mon Jan 01 0 Leap 0, Version 4, Mode server, Stratum 1, Poll 6, Precision 2**-29, Root delay 0, Root disp 0, Ref Id 10.67.84.83, Ref time 3572876227.2200200252 (17:37:07.2200200252 GMT+00 Thu Mar 21 2013) Org 232.784360585 (00:03:52.784360585 GMT+00 Mon Jan 01 0) Rec 3572876243.75963892 (17:37:23.75963892 GMT+00 Thu Mar 21 2013) Xmt 3572876243.76010686 (17:37:23.76010686 GMT+00 Thu Mar 21 2013) pkt len = 48 key 0
The following example displays information about the NTP server.
device# debug ip ntp server NTP: Received NTP client packet from 172.26.67.52 on port 123 via port id mgmt1 at 18:02:44.1139927355 GMT+00 Thu Mar 21 2013 Leap 0, Version 4, Mode client, Stratum 3, Poll 6, Precision 2**-16, Root delay 16102, Root disp 90471, Ref Id 172.26.67.65, Ref time 3572877762.1183164018 (18:02:42.1183164018 GMT+00 Thu Mar 21 2013) Org 3572877762.1141785444 (18:02:42.1141785444 GMT+00 Thu Mar 21 2013) Rec 3572877762.1183164018 (18:02:42.1183164018 GMT+00 Thu Mar 21 2013) Xmt 3572877764.1137502159 (18:02:44.1137502159 GMT+00 Thu Mar 21 2013) pkt len = 48 key 0 device(config-ntp)# NTP: poll_update: for peer 10.250.229.100 hpoll 6 burst 0 retry 0 throttle 62 next poll 64 NTP: Received NTP server packet from 10.250.229.100 on port 123 via port id mgmt1 at 18:03:09.1891314446 GMT+00 Thu Mar 21 2013 Leap 0, Version 4, Mode server, Stratum 1, Poll 6, Precision 2**-29, Root delay 0, Root disp 0, Ref Id 10.67.84.83, Ref time 3572877762.155297680 (18:02:42.155297680 GMT+00 Thu Mar 21 2013) Org 3572877789.878229501 (18:03:09.878229501 GMT+00 Thu Mar 21 2013) Rec 3572877789.1401109720 (18:03:09.1401109720 GMT+00 Thu Mar 21 2013) Xmt 3572877789.1401162509 (18:03:09.1401162509 GMT+00 Thu Mar 21 2013) pkt len = 48 key 0 NTP: poll_update: for peer 10.250.229.100 hpoll 6 burst 0 retry 0 throttle 62 next poll 67