cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8874
Views
105
Helpful
5
Replies
Highlighted
Beginner

incorrect time in log file

we have several cisco switches. we have NTP setup running on a msfc of a 6500. switches are set to get time from 6500. the show clock command on the switches show the correct time. But when something is put in the log file of the switch,the time is 4 hours ahead. Any ideas?? Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate

It sounds like it is logging with UTC timestamps instead of the local timezone. Try:

service timestamps log datetime localtime show-timezone

Kevin Dorrell

Luxembourg

View solution in original post

5 REPLIES 5
Highlighted
Advocate

It sounds like it is logging with UTC timestamps instead of the local timezone. Try:

service timestamps log datetime localtime show-timezone

Kevin Dorrell

Luxembourg

View solution in original post

Highlighted

you da man,

thanks, that was it.

Highlighted

William

If that was it, then rating the post (with a 5) and using the check mark assignment would be a good way to indicate to people who read the forum that a solution had been provided.

HTH

Rick

HTH

Rick
Highlighted

Thanks for the help!!!!

I fixed my issue with that command on 2960 S switches

Highlighted

This worked for me.  Thanks!

Content for Community-Ad