cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3346
Views
10
Helpful
2
Replies

syslog time on device is incorrect

Wassim Aouadi
Level 4
Level 4

Hi,

Company switches display incorrect time value on log buffer, although they are synchronized with NTP server:

TNSWAGCS01013#sh log

(truncated)

Apr  5 14:20:40.188: %SYS-5-CONFIG_I: Configured from console by wassim on vty0 (10.100.7.2)

Apr  5 14:20:47.360: %LINK-3-UPDOWN: Interface FastEthernet0/11, changed state to down

Apr  5 14:20:48.752: %SYS-5-CONFIG_I: Configured from console by wassim on vty0 (10.100.7.2)

the clock value is correct:

TNSWAGCS01013#sh cloc

15:21:09.573 CET Thu Apr 5 2012

TNSWAGCS01013#

TNSWAGCS01013#show ntp statu

Clock is synchronized, stratum 9, reference is 10.100.254.1 

nominal freq is 119.2092 Hz, actual freq is 119.2090 Hz, precision is 2**17

reference time is D3282603.42950715 (15:09:07.260 CET Thu Apr 5 2012)

Any idea?

Wass

1 Accepted Solution

Accepted Solutions

yjdabear
VIP Alumni
VIP Alumni

Do you have something along the lines of "service timestamps log datetime localtime show-timezone" configured? If so, what does it look like exactly?

View solution in original post

2 Replies 2

yjdabear
VIP Alumni
VIP Alumni

Do you have something along the lines of "service timestamps log datetime localtime show-timezone" configured? If so, what does it look like exactly?

Hi,

Thanks, your hint helped me figure it out. In fact, I should have configured the following line: service timestamps log datetime msec localtime"

Problem solved.

Wass