12-05-2006 06:44 AM - edited 03-05-2019 01:10 PM
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
12-05-2006 07:50 AM
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
12-05-2006 07:50 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide