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

Timestamps not displayed with debugs

Hi All,

At the moment I am still studying so please forgive this probably obvious issue!

I have the clock set which I have verified with the show clock command. This displays correctly with the correct time, date etc.

However when I issue debug commands I get the uptime? values, ie 3d06hr.

What is it that I am missing here for the debugs to display the actual set time?

If it matters the router is a 2500 running 12.2(7r)XM1 as the IOS.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Timestamps not displayed with debugs

hi

can you also try this command under your router config ?

service timestamps debug datetime msec localtime show-timezone

But make sure that you hve proper clock time set on your router to have proper time getting displayed ...

regds

5 REPLIES

Re: Timestamps not displayed with debugs

Hi

Can you post out the config which you have done it out there in your router over there ?

regds

Re: Timestamps not displayed with debugs

Hi look here:

http://www.cs.fsu.edu/reference/itl/labs/debug/debug.htm

I think that only syslog shows the timestamps ... and not the debug

If you find this post usefull

please don't forget to rate this

#########################################

#Iwan Hoogendoorn

#########################################

Re: Timestamps not displayed with debugs

hi

can you also try this command under your router config ?

service timestamps debug datetime msec localtime show-timezone

But make sure that you hve proper clock time set on your router to have proper time getting displayed ...

regds

New Member

Re: Timestamps not displayed with debugs

Hi spremkumar

Thanks heaps for that :)

That sorted it thanks for that!

Re: Timestamps not displayed with debugs

Try putting these two lines in your config

!

service timestamps debug datetime msec localtime show-timezone

service timestamps log datetime msec localtime show-timezone

!

111
Views
5
Helpful
5
Replies
CreatePlease to create content