cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
728
Views
0
Helpful
8
Replies

NTP > Catalyst Switch is 2 years ahead!

Dmoreno69
Level 1
Level 1

Hello,

We have many switches configured to use the same NTP server.

There is one switch showing the right day and month but year is 2012. As far as I have seen, all switches have the same config.

I even disabled NTP client and broadcastClient then manually entered the date "monday 12/13/2010" but after hitting enter the device wrote a line "Friday 12/13/2012".

Have you guys seen and fixed this before?

Device Info:

-----------------------------------------------------------------------------------------------------------

WS-C4006 Software, Version NmpSW: 7.6(17)

System Bootstrap Version: 5.4(1)
Hardware Version: 3.0  Model: WS-C4006


switchName> (enable) sh ntp noa

Current time: Fri Dec 13 2012, 18:20:46 utc
Timezone: 'utc', offset from UTC is 0 hours
Summertime: 'EDT', disabled
Last NTP update: Tue Dec 14 2010, 00:38:08
Broadcast client mode: enabled
Broadcast delay: 3000 microseconds
Client mode: enabled
Authentication: disabled

NTP-Server                                Server Key
----------------------------------------  ----------
NTPServerIPAddress                -

Key Number   Mode
----------   ---------
switchName> (enable)


-----------------------------------------------------------------------------------------------------------


switchName> (enable) set ntp broadcastclient di

switchName> (enable) set ntp client di


switchName> (enable) set time 12/13/2010
Fri Dec 13 2012, 18:20:32 utc
switchName> (enable)

-----------------------------------------------------------------------------------------------------------

8 Replies 8

glen.grant
VIP Alumni
VIP Alumni

  This is what we use , we are even using the same catos version on our 4006's.   Where are you picking the time from ?  Is the time correct on the device that is feeding your ntp time?

ciscoswitch# set ntp client enable
ciscoswitch# set ntp server xxx.xxx.xxx.xxx

Dmoreno69
Level 1
Level 1

Hello Glen,

Thanks for taking the time to reply.

I omitted the server IP address. Other swictches has the exact same config (including NTP server) so why would this guy be 2 years ahead?

Even if the time was wrong on the server, all the devices "attached"  to it would have the same date.

Regards,

David M.

  Not sure why its 2 years ahead .I would think it would have to be sent from the server like that.   Just manually setting the time would only be right if for some reason ntp was not working at all or turned off .  If the server is correct you may have to put a sniffer on it and see what is going on .

Are you using a Cisco appliance as an authoritative NTP server?  I wouldn't configure Cisco appliance as an authoritative NTP server.

How to configure an authoritative time server in Windows XP
http://support.microsoft.com/kb/314054

How to configure an authoritative time server in Windows Server
http://support.microsoft.com/kb/816042

How to configure an authoritative time server in Windows 2000
http://support.microsoft.com/kb/216734

Otherwise, use a dedicated NTP server that synchronizes itself using GPS.

Hello,

Thanks for your reply.

We are using a server, which is configured on the other switches. If they all point to the same server, why this switch is time  traveling ? : )

GFWAFBCCO
Level 1
Level 1

David,

Can you post your ntp configuration and output from show ntp association? My guess is you are pulling time from another device and its time is wrong.

-Steve

Hi there...

This device is running CatOS, which does not give us many commands to troubleshoot NTP issues.

This is all I can get from the switch (which is the exact same config of its properly working neighbors):

WS-C4006 Software, Version NmpSW:  7.6(17)

System Bootstrap  Version: 5.4(1)
Hardware Version: 3.0  Model: WS-C4006


switchName>  (enable) sh ntp noa

Current time: Fri  Dec 13 2012, 18:20:46 utc
Timezone: 'utc', offset from UTC is 0 hours
Summertime:  'EDT', disabled
Last NTP update: Tue Dec 14 2010, 00:38:08
Broadcast  client mode: enabled
Broadcast delay: 3000 microseconds
Client  mode: enabled
Authentication: disabled

NTP-Server                                Server  Key
----------------------------------------  ----------
NTPServerIPAddress                 -

Key Number   Mode
----------   ---------
switchName>  (enable)

-----------------------------------------------------------------------------------------------------------

David M.

And what is the "NTPServerIPAddress"?  Is this an authoritative SNTP/NTP server or is this another Cisco appliance configured as "ntp master"?

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:

Review Cisco Networking products for a $25 gift card