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

Why are my syslog time stamps are different?

When I look at my syslogs on my 4006 switch, the events that are logged look like they have the correct time on them. If I go in and do a config t and then back out and look at the syslog, the timestamp on the new entry is incorrect. Any ideas?

Sonny

Dec 5 06:06:38: %RCMD-4-RSHPORTATTEMPT: Attempted to connect to RSHELL from 10.200.206.7

Dec 5 14:36:51: %SYS-5-CONFIG_I: Configured from console by pfeffes on vty0 (10.200.15.24)

Dec 5 14:39:30: %SYS-5-CONFIG_I: Configured from console by pfeffes on vty0 (10.200.15.24)

CM2ISS01#sh clock

08:40:02.952 CST Tue Dec 5 2006

2 REPLIES

Re: Why are my syslog time stamps are different?

try setting you timestamp to localtime as below. CST is -6 hours.http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123tcr/123tfr/cfrgt_01.htm#wp1099739

service timestamps log datetime localtime

Hall of Fame Super Bronze

Re: Why are my syslog time stamps are different?

You need to include the following in your config

service timestamps log datetime localtime show-timezone

clock timezone CST -6

clock summer-time CDT recurring

___

Please rate helpful posts.

149
Views
0
Helpful
2
Replies
CreatePlease to create content