cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1146
Views
0
Helpful
11
Replies

Switch C2960S

eugel.prosper1
Level 1
Level 1

Best regards

 

I have three switches (2960)in my network. They receive connections by a switch core (4507), links of FO. This switch is a master for ntp service.

The problem consist that switch 1 and 2 receive ntp update but switch 3 not receive it.

I use command show ntp status and the three have the same time, but in logs (sh log) show me different time for this switch (switch 3). The others show me good time in logs and ntp. And the three have the same ntp server configuration.

 

Please, i'll appreciate your help or orientation.

 

 

1 Accepted Solution

Accepted Solutions

Yes no problem hopefully its finally synced , if not you may need to try a reboot as everything else is looking good in terms of outputs on sw3

View solution in original post

11 Replies 11

Mark Malone
VIP Alumni
VIP Alumni

Does your show ntp staus show the clock synchronized and does the show ntp associations show the 4500 as master , when you use the detail statement it should also show sane and not invalid , can you post these

also make sure your clocks are set locally on the switch i understand its ntp but it helps the device sync quicker , run a constant ping to the 4500 ntp ip as well or rebooting the switch can invoke a quick sync if possible if you have not tried that

Hi Mark.. I thinked same to you, reboot the switch 3, but i would have to wait the time window. Thanks for orientation. I attach the corresponding configuration. In master (sw core) and in switch 3...

 

sw_core4507#sh ntp associations detail
127.127.7.1 configured, our_master, sane, valid, stratum 4
ref ID 127.127.7.1, time D8EA180B.D9302474 (09:30:35.848 bog Tue Apr 28 2015)
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**18, version 3
org time D8EA180B.D9302474 (09:30:35.848 bog Tue Apr 28 2015)
rcv time D8EA180B.D9302474 (09:30:35.848 bog Tue Apr 28 2015)
xmt time D8EA180B.D93013AC (09:30:35.848 bog Tue Apr 28 2015)
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:

10.100.xxx.xxx configured, insane, invalid, stratum 1
ref ID .LOCL., time D8E96434.1C000000 (20:43:16.109 bog Mon Apr 27 2015)
our mode client, peer mode server, our poll intvl 1024, peer poll intvl 1024
root delay 0.00 msec, root disp 10547.76, reach 377, sync dist 10578.522
delay 1.37 msec, offset 618081.8344 msec, dispersion 18.71
precision 2**6, version 3
org time D8EA17CC.DC000000 (09:29:32.859 bog Tue Apr 28 2015)
rcv time D8EA1562.C73A389E (09:19:14.778 bog Tue Apr 28 2015)
xmt time D8EA1562.C6DF9350 (09:19:14.776 bog Tue Apr 28 2015)
filtdelay =     1.37    1.46   11.95   10.10    6.26    1.45    7.05    1.42
filtoffset = 618081. 618071. 618060. 618056. 618048. 618029. 618020. 618001.
filterror =     0.02   15.64   31.27   46.89   62.52   78.14   93.77  109.39

192.168.xxx.xxx configured, insane, invalid, unsynced, stratum 16
ref ID 0.0.0.0, time 00000000.00000000 (19:00:00.000 bog Thu Dec 31 1899)
our mode client, peer mode unspec, our poll intvl 1024, peer poll intvl 1024
root delay 0.00 msec, root disp 0.00, reach 0, sync dist 446651.489
delay 0.00 msec, offset 0.0000 msec, dispersion 16000.00
precision 2**5, version 3
org time 00000000.00000000 (19:00:00.000 bog Thu Dec 31 1899)
rcv time 00000000.00000000 (19:00:00.000 bog Thu Dec 31 1899)
xmt time D8EA14C9.C3DE9667 (09:16:41.765 bog Tue Apr 28 2015)
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

 


sw_core4507#sh clock
09:37:26.367 bog Tue Apr 28 2015
=======================================================================================================
Switch_3_2960#sh ntp associations detail
172.xxx.xxx.xxx configured, our_master, sane, valid, stratum 5                                 //172.xxx.xxx.xxx is master interface 4507
ref ID 127.127.7.1, time D8EA154B.C64128AC (09:18:51.774 EST Tue Apr 28 2015)
our mode client, peer mode server, our poll intvl 1024, peer poll intvl 1024
root delay 0.00 msec, root disp 0.03, reach 377, sync dist 43.900
delay 1.36 msec, offset 63.5833 msec, dispersion 43.20
precision 2**18, version 3
org time D8EA1587.8C67C83A (09:19:51.548 EST Tue Apr 28 2015)
rcv time D8EA1587.7C4D6792 (09:19:51.485 EST Tue Apr 28 2015)
xmt time D8EA1587.7BF3E80E (09:19:51.484 EST Tue Apr 28 2015)
filtdelay =     1.36    1.92    2.04    2.15    2.01    0.87    0.92    0.92
filtoffset =   63.58   36.45    8.29   -2.37   -1.68   -0.50    0.13    0.37
filterror =     0.02   15.64   31.27   46.89   62.52   78.14   93.77  109.39

 

Switch_3_2960#sh clock
09:37:17.975 EST Tue Apr 28 2015

 

Switch_3_2960#sh log
Apr 28 14:40:43.038: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/25, changed state to down   //bad time, not corresponding
Apr 28 14:40:44.055: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/25, changed state to down
Apr 28 14:40:46.719: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/25, changed state to up
Apr 28 14:40:47.720: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/25, changed state to up    //bad time, not corresponding

on sw3 whats it show for show clock detail , does it state source ntp because that looks correct its saying its valid and sane and has also added 1 extra stratum to 5 from master 4 which is right

Have you tried to set the time manually on the 2960 to match the 4500 to see if it syncs ?

Are these 3 2960s running same ios version

Switch_3_2960#sh clock detail
10:39:56.785 bog Tue Apr 28 2015
Time source is NTP

 

Switch 3 and switch core have de same time and same timezone

 

sw_core4507#sh clock detail
10:36:17.450 bog Tue Apr 28 2015

Time source is NTP

 

 

Thanks...

 

sorry the earlier output showed EST time now its showing BOG like the 4507 is it now synced ? is the issue still current in the logs same messages coming up or have they stopped

 

Switch_3_2960#sh clock
09:37:17.975 EST Tue Apr 28 2015

 

Switch_3_2960#sh clock detail
10:39:56.785 bog Tue Apr 28 2015
Time source is NTP

Excuse me Mark

 

I changed the timezone in switch 3, but let me wait some Log in this switch. Maybe the time is correct.

Yes no problem hopefully its finally synced , if not you may need to try a reboot as everything else is looking good in terms of outputs on sw3

Excuse me Mark

 

I changed the timezone in switch 3, but let me wait some Log in this switch. Maybe the time is correct.

Excuse me Mark

 

I changed the timezone in switch 3, but let me wait some Log in this switch. Maybe the time is correct.

Switch_3_2960#sh clock detail
10:39:56.785 bog Tue Apr 28 2015
Time source is NTP

 

Switch 3 and switch core have de same time and same timezone

 

sw_core4507#sh clock detail
10:36:17.450 bog Tue Apr 28 2015

Time source is NTP

 

 

Thanks...

 

Switch_3_2960#sh clock detail
10:39:56.785 bog Tue Apr 28 2015
Time source is NTP

 

Switch 3 and switch core have de same time and same timezone

 

sw_core4507#sh clock detail
10:36:17.450 bog Tue Apr 28 2015

Time source is NTP

 

 

Thanks...