cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
440
Views
0
Helpful
2
Replies

Logs showing different timestamp than router time

garyrivers
Level 1
Level 1

okay, stupid question:

i've noticed on acouple routers that when i do a "sh logg" the timestamps are way off or in military time.

is there a way to change the timestamps to reflect the router's time?

Gary

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

You need the following:

service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone

And then, this is the time/date settings for Australia.  Choose how you see fit:

clock timezone AEST 10
clock summer-time AEDST recurring 1 Sun Oct 2:00 1 Sun Apr 2:00

Syntax:
clock timezone WORD
clock summer-time WORD recurring ?

Hope this helps.

View solution in original post

2 Replies 2

Leo Laohoo
Hall of Fame
Hall of Fame

You need the following:

service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone

And then, this is the time/date settings for Australia.  Choose how you see fit:

clock timezone AEST 10
clock summer-time AEDST recurring 1 Sun Oct 2:00 1 Sun Apr 2:00

Syntax:
clock timezone WORD
clock summer-time WORD recurring ?

Hope this helps.

Leo Laohoo
Hall of Fame
Hall of Fame

Thanks for the ratings.

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