GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
ntp won't sync after reboot if ntp auth is used? posted 02/27/2002
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


Hi,

I have the following ntp configurations:

              ---(No authentication)---R7
rsm--ntp svr--/
             \
              ---(authentication)------R6

This has been very consistent when I power cycle all my routers. R7 can sync up its time with rsm without any problems, but R6 could not sync up its time unless I re-type the ntp auth commands on both rsm and r6. There is no sign of authentication problem as debug ntp authentication shows the correct key number, but I could not understand why it could not use rsm's reference clock. There's no ntp access-group or filters in my configuration. Is this the 'normal' behavior of the ntp with authentication in Cisco 2500/2600?

Below is my configurations and ntp associations:

Thanks,
Chang

NTP Server (rsm - 160.100.77.125):

clock timezone EST -5
clock summer-time EDT recurring
clock calendar-valid
!
ntp authentication-key 1 md5 0822455D0A16 7
ntp authenticate
ntp master 3
ntp update-calendar
!

----------------------------------------------------
NTP client1 with no authentication (r7 - 160.100.77.122):

clock timezone EST -5
clock summer-time EDT recurring
!
ntp server 160.100.77.125

----------------------------------------------------
NTP client2 with authentication (r6 - 150.100.1.6):

clock timezone EST -5
clock summer-time EDT recurring
!
ntp authentication-key 1 md5 01100F175804 7
ntp authenticate
ntp trusted-key 1
ntp clock-period 17179817
ntp server 160.100.77.125 key 1

-----------------------------------------------------
output from show ntp asso after power cycle:
rsm#sh ntp asso

address ref clock st when poll reach delay offset disp
*~127.127.7.1 127.127.7.1 2 59 64 377 0.0 0.00 0.0
* master (synced), # master (unsynced), + selected, - candidate, ~ configured
rsm#sh ntp asso detail
127.127.7.1 configured, our_master, sane, valid, stratum 2
ref ID 127.127.7.1, time C0278F1B.79DA5D3F (12:00:11.475 EST Wed Feb 27 2002)
our mode active, peer mode passive, our poll intvl 64, peer poll intvl 64
root delay 0.00 msec, root disp 0.00, reach 377, sync dist 0.015
delay 0.00 msec, offset 0.0000 msec, dispersion 0.02
precision 2**24, version 3
org time C0278F1B.79DA5D3F (12:00:11.475 EST Wed Feb 27 2002)
rcv time C0278F1B.79DA5D3F (12:00:11.475 EST Wed Feb 27 2002)
xmt time C0278F1B.79D96A50 (12:00:11.475 EST Wed Feb 27 2002)
filtdelay = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
filtoffset = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
filterror = 0.02 0.99 1.97 2.94 3.92 4.90 5.87 6.85
Reference clock status: Running normally
Timecode:


r7#sh ntp asso

address ref clock st when poll reach delay offset disp
*~160.100.77.125 127.127.7.1 3 35 64 377 2.7 2.43 0.2
* master (synced), # master (unsynced), + selected, - candidate, ~ configured
r7#sh ntp asso detail
160.100.77.125 configured, our_master, sane, valid, stratum 3
ref ID 127.127.7.1, time C0278F1B.79DA5D3F (12:00:11.475 EST Wed Feb 27 2002)
our mode client, peer mode server, our poll intvl 64, peer poll intvl 64
root delay 0.00 msec, root disp 0.03, reach 377, sync dist 1.541
delay 2.70 msec, offset 2.4334 msec, dispersion 0.17
precision 2**24, version 3
org time C0278F3A.A23D51BD (12:00:42.633 EST Wed Feb 27 2002)
rcv time C0278F3A.A1F67ADC (12:00:42.632 EST Wed Feb 27 2002)
xmt time C0278F3A.A1428D47 (12:00:42.629 EST Wed Feb 27 2002)
filtdelay = 2.70 2.72 2.76 2.70 2.70 2.72 2.70 2.72
filtoffset = 2.43 2.45 2.38 2.36 1.74 1.10 0.75 0.60
filterror = 0.02 0.99 1.97 2.94 4.90 6.85 7.83 8.38


r6#sh ntp asso

address ref clock st when poll reach delay offset disp
~160.100.77.125 0.0.0.0 16 - 64 0 0.0 0.00 16000.
* master (synced), # master (unsynced), + selected, - candidate, ~ configured
r6#sh ntp asso detail
160.100.77.125 configured, insane, invalid, unsynced, stratum 16
ref ID 0.0.0.0, time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899)
our mode client, peer mode unspec, our poll intvl 64, peer poll intvl 64
root delay 0.00 msec, root disp 0.00, reach 0, sync dist 0.000
delay 0.00 msec, offset 0.0000 msec, dispersion 16000.00
precision 2**5, version 3
org time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899)
rcv time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899)
xmt time AF3BD6D4.86233949 (19:27:00.523 EST Sun Feb 28 1993)
filtdelay = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
filtoffset = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
filterror = 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0


r6#debug ntp auth
NTP authentication debugging is on
r6#debug ntp vali
NTP peer validity debugging is on
r6#
00:31:27:  Authentication key 1
00:31:27:  Authentication key 1





_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
_________________________________________________________________
Commercial lab list: http://www.groupstudy.com/list/commercial.html
Please discuss commercial lab solutions on this list.
__________________________________________________________________
To unsubscribe from the CCIELAB list, send a message to
majordomo@xxxxxxxxxxxxxx with the body containing:
unsubscribe ccielab