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

Delayed clock at show log command

My company bought a Catalyst 2960(flash:c2960-lanbase-mz.122-35.SE5) but the logs at show log command are displaing a very delayed time from the current clock time (show clock) in the switch. Is it a IOS release issue or there is a specific command to syncronize the logs with the clock sets ?

Brgds Fabio Nunes - Brazil


Re: Delayed clock at show log command

Normally the timestamps on the messages are pretty accurate, and are exactly what the clock says at the time the event occurred.

I wonder whether you have your timezone set up correctly, and whether your logging is configured to show you local time.

For your timezone, you should use the configuration command clock timezone XYZ -3. I'm presuming that Brazil has UTC-3 normally in Winter, and that your winter timezone is called XYZ.

Then tell it about your summertime timezone. That will require a command like clock summer-time ZYX recurring last Sun Oct 03:00 last Sun Apr 02:00. That tells it the dates to apply an hour offset for daylight saving time, and the name of your summertime timezone.

Once you have set up your timezones, set the clock to your local time, or let NTP do it for you.

Now the bit you asked about. You need service timestamps log datetime localtime. I reckon it is that localtime parameter you are missing.

Kevin Dorrell


Community Member

Re: Delayed clock at show log command

Many tks, Kevin !!!!

You really saved me today.


Fabio Nunes

CreatePlease to create content