cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22349
Views
214
Helpful
8
Replies

incorrect time in log file

broow
Level 1
Level 1

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

Kevin Dorrell
Level 10
Level 10

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

8 Replies 8

Kevin Dorrell
Level 10
Level 10

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

you da man,

thanks, that was it.

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

Thanks for the help!!!!

I fixed my issue with that command on 2960 S switches

This worked for me.  Thanks!

This worked for me.  Thanks!

Thank You, worked for me

It is working..Great!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card