Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Time on switch does not match logs??

I wrote to memory so I would get a log entry and then I did show clock and the times do not match.....why would that be?

here is the output

Dec 4 14:42:21: %PFINIT-SW1_SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby Router.

6509-VSS#show clock

09:42:37.656 EST Thu Dec 4 2008

6509-VSS#

Thanks mike

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: Time on switch does not match logs??

Hello Mike,

I was meaning the following options

service timestamps log datetime ?

localtime Use local time zone for timestamps

msec Include milliseconds in timestamp

show-timezone Add time zone information to timestamp

I would add msec local-time

Hope to help

Giuseppe

4 REPLIES
Hall of Fame Super Silver

Re: Time on switch does not match logs??

Hello Mike,

it should be a question of timezone

in the service timestamps log datetime command there are options to move to another timezone

or the timezone is missing in NTP config you see that minutes and seconds are good enough

Hope to help

Giuseppe

Re: Time on switch does not match logs??

service timestamps debug datetime

service timestamps log datetime

service password-encryption

service counters max age 10

clock timezone EST -5

clock summer-time EDT recurring

ntp clock-period 17083848

ntp source Vlan1

ntp master 10

ntp update-calendar

ntp server xxx.xxx.xxx.xxx

ntp server xxx.xxx.xxx.xxx

ntp server xxx.xxx.xxx.xxx

ntp server xxx.xxx.xxx.xxx

ntp server xxx.xxx.xxx.xxx

6509-VSS#show ntp status

Clock is synchronized, stratum 2, reference is 192.5.41.40

nominal freq is 250.0000 Hz, actual freq is 251.4051 Hz, precision is 2**18

reference time is CCE27041.178D5020 (10:05:37.092 EST Thu Dec 4 2008)

clock offset is -2.0895 msec, root delay is 35.89 msec

root dispersion is 10.45 msec, peer dispersion is 7.89 msec

Here is parts of the config....am I missing something? NTP looks correct.

Mike

Hall of Fame Super Silver

Re: Time on switch does not match logs??

Hello Mike,

I was meaning the following options

service timestamps log datetime ?

localtime Use local time zone for timestamps

msec Include milliseconds in timestamp

show-timezone Add time zone information to timestamp

I would add msec local-time

Hope to help

Giuseppe

Re: Time on switch does not match logs??

Sorry....I understand now. It has been a rough couple days. Troubleshooting a high CPU % on this switch with no luck.

That worked... thanks.

Thanks,

Mike

1362
Views
9
Helpful
4
Replies
CreatePlease to create content