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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

timestamp on debug

The time on debug Oct 15 16:01:39.885: seems using greenwich time, however show clock use local time zone. Sometimgs it's quite confusing. How can we sure the log time also shows the local time?

2 REPLIES
Hall of Fame Super Silver

Re: timestamp on debug

Hello,

add the localtime option to the command

service timestamps [debug | log] [uptime | datetime [msec]] [localtime] [show-timezone] [year]

see

http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_r1.html#wp1030116

Hope to help

Giuseppe

Re: timestamp on debug

Type:

service timestamps log datetime localtime

clock timezone (however many hours off your are from GMT)

mine is:

clock timezone CST -6

then for daylight savings:

clock summer-time recurring

--John

HTH, John *** Please rate all useful posts ***
136
Views
0
Helpful
2
Replies
CreatePlease to create content