cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1398
Views
0
Helpful
12
Replies

clock not updating on cisco switches

suresh_indian
Level 1
Level 1

blr1-corp-swa#sh clock

*01:41:50.897 PDT Sat May 22 1993

blr1-corp-swa#

where as updating on the other switch with the same config

blr1-corp-swd#sh clock

.02:51:28.863 PDT Thu Jul 20 2006

blr1-corp-swd#

12 Replies 12

zerozerotito
Level 1
Level 1

Have you configured NTP on the routers? Can you give more info about configuration?

Hi

If you want to synchronize the time for all your network devices then you should consider using NTP.

By default all devices report it from their local system time.

Narayan

yes I have configured on both the switches, one works & the other doesnot. please see the floowing output

blr1-corp-swc#sh run | inc ntp

ntp clock-period 11259065

ntp server 210.4.192.9

ntp server 210.4.192.13

blr1-corp-swc#sh run | inc cl

clock timezone PST -8

clock summer-time PDT recurring

ntp clock-period 11259065

blr1-corp-swc#sh clock

.04:05:44.312 PDT Thu Jul 20 2006

blr1-corp-swc#

blr1-corp-swa#sh run | inc ntp

ntp clock-period 11259065

ntp peer 210.4.192.9 prefer

ntp server 210.4.192.41

ntp server 210.4.192.13

blr1-corp-swa#sh run | inc cl

clock timezone PST -8

clock summer-time PDT recurring

ntp clock-period 11259065

blr1-corp-swa#sh clock

*02:54:10.135 PDT Sat May 22 1993

blr1-corp-swa#

I also tried changing the NTP peers as follws

but no use

blr1-corp-swa#sh run | inc ntp

ntp clock-period 11259065

ntp server 210.4.192.9

ntp server 210.4.192.13

blr1-corp-swa#sh run | inc cl

clock timezone PST -8

clock summer-time PDT recurring

ntp clock-period 11259065

blr1-corp-swa#sh clock

*02:56:54.647 PDT Sat May 22 1993

Are you able to reach the NTP server from the interface which leads to it.

Otherwise you may have add the following command

NTP source

HTH

Narayan

yes I am able to reach

Try putting switches to client mode, then they will regularly send request...Here is the command:

ntp client enable

Pls Rate all Posts

there is no such option in my switch.

cbbops08(config)#ntp ?

access-group Control NTP access

authenticate Authenticate time sources

authentication-key Authentication key for trusted time sources

broadcastdelay Estimated round-trip delay

clock-period Length of hardware clock tick

max-associations Set maximum number of associations

peer Configure NTP peer

server Configure NTP server

source Configure interface for source address

trusted-key Key numbers for trusted time sources

cbbops08(config)#

*Feb 28 20:36:14 PST: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/6 (1), with blr1-corp-swf.webex.com FastEthernet0/22 (52).end

cbbops08#sh ver

Cisco Internetwork Operating System Software

IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC8, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2003 by cisco Systems, Inc.

Compiled Thu 19-Jun-03 12:37 by antonino

Image text-base: 0x00003000, data-base: 0x0034E2F4

ROM: Bootstrap program is C3500XL boot loader

cbbops08 uptime is 4 hours, 36 minutes

System returned to ROM by reload

System image file is "flash:c3500xl-c3h2s-mz.120-5.WC8.bin"

cisco WS-C3548-XL (PowerPC403) processor (r

*Feb 28 20:36:17 PST: %SYS-5-CONFIG_I: Configured from console by consoleevision 0x01) with 16384K/1024K bytes of memory.

revision 0x00

Last reset from warm-reset

Processor is running Enterprise Edition Software

Cluster command switch capable

Cluster member switch capable

48 FastEthernet/IEEE 802.3 interface(s)

2 Gigabit Ethernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.

Motherboard assembly number: 73-3903-10

Power supply part number: NONE

Power supply serial number: NONE

Model revision number: N0

Motherboard revision number: A0

Model number: WS-C3548-XL-EN

I wonder why when the other switch in the same network with the same running config can work & why not this?

There was a misundersanding...

the command which puts switch to client mode is for 6000 series switches. As I recognized, your devices are 3500 series.

Well... on 3500 series, to put switches to Client mode you only need to configure ntp servers. But they have already configured...

Can you post 'show ntp status' and 'sh ntp association'? Can you check these commands on both switches?

Regards...

So

blr1-corp-swa#sh ntp associations

address ref clock st when poll reach delay offset disp

~210.4.192.9 0.0.0.0 16 - 64 0 0.0 0.00 16000.

~210.4.192.13 0.0.0.0 16 - 64 0 0.0 0.00 16000.

* master (synced), # master (unsynced), + selected, - candidate, ~ configured

blr1-corp-swa#

blr1-corp-swa#

blr1-corp-swa#sh ntp s

blr1-corp-swa#sh ntp status

Clock is unsynchronized, stratum 16, no reference clock

nominal freq is 381.4697 Hz, actual freq is 381.4675 Hz, precision is 2**17

reference time is 00000000.00000000 (16:00:00.000 PST Wed Dec 31 1899)

clock offset is 0.0000 msec, root delay is 0.00 msec

root dispersion is 0.00 msec, peer dispersion is 0.00 msec

blr1-corp-swa#

blr1-corp-swd#sh ntp associations

address ref clock st when poll reach delay offset disp

~210.4.192.9 64.68.112.94 3 127d 64 0 413.8 67.57 16000.

~210.4.192.13 64.68.112.94 3 127d 64 0 412.9 62.12 16000.

* master (synced), # master (unsynced), + selected, - candidate, ~ configured

blr1-corp-swd#

blr1-corp-swd#

blr1-corp-swd#sh ntp st

blr1-corp-swd#sh ntp status

Clock is unsynchronized, stratum 16, no reference clock

nominal freq is 381.4697 Hz, actual freq is 381.4675 Hz, precision is 2**17

reference time is C7C19A73.6DBB523F (11:39:31.428 PST Tue Mar 14 2006)

clock offset is 62.1180 msec, root delay is 567.93 msec

root dispersion is 111.85 msec, peer dispersion is 23.50 msec

blr1-corp-swd#

Let me know if you need more inputs

Hi again!

I wanna ask one more thing... Have you got any ACLs that restrict Switch A?

Regards,

no, its not only with this switch, there are few couple of routers & switches where clock is not updating.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco