Solved

Problems with Cisco Clock and Timestamps

Posted on 2007-04-03
6
2,627 Views
Last Modified: 2008-09-17
I've become extremely annoyed with the cisco clock and timestamps on my devices.

My clock shows one time when I do a "show clock":

.11:13:58.809 EDT Tue Apr 3 2007

Then to verify my log timestamps are correct, I do a "clear counters" and issue a "show log".  My log shows another time on the timestamp:

.Apr  3 15:14:29: %CLEAR-5-COUNTERS: Clear counter on all interfaces by routeradmin on vty0 (172.X.X.X)

-----

Here's the output from a "show clock detail"
.11:17:34.631 EDT Tue Apr 3 2007
Time source is NTP
Summer time starts 02:00:00 EST Sun Mar 11 2007
Summer time ends 02:00:00 EDT Sun Nov 4 2007

---------

Here's the only config I have on the router, aside from my NTP servers
clock timezone EST -5
clock summer-time EDT recurring 2 Sun Mar 2:00 1 Sun Nov 2:00

---------

Please note, the correct time is the one showing up under "shock clock" and the incorrect time is displaying under my logging and debugging timestamps.

Thanks
0
Comment
Question by:ctrost
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 50

Expert Comment

by:Don Johnston
ID: 18845763
From global config;

service timestamp logging datetime
service timestamp debug datetime

0
 
LVL 3

Author Comment

by:ctrost
ID: 18845797
That's already in place...that's how I'm able to see the date and time on the logging timestamp I posted.  Sorry, should have mentioned that.
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 18847321
As the difference is 4 hours, it appears to be GMT offset issue.
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 3

Author Comment

by:ctrost
ID: 18849850
Ok.....so how do I fix it?  My timezone was set properly with the "clock timezone EST -5" command....which is my proper timezone.  I'm in Indiana and we're on EST (US & Canada).  Obviously we're in EDT currently but I reflected that change with the cisco-provided summertime command...

Shock clock is showing up fine but show log and showing the wrong timestamps, makes no sense
0
 
LVL 50

Accepted Solution

by:
Don Johnston earned 250 total points
ID: 18850211
service timestamps logging datetime localtime

0
 
LVL 3

Author Comment

by:ctrost
ID: 18850261
you da man don.  Thanks
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question