Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Log Time Display 1

Status
Not open for further replies.

benzito

ISP
Jan 8, 2002
144
US
When I do a Sho Log on certain routers I get back times w/o dates or in some cases timestamp of event in relation to uptime of router (ie. 4days 6hrs) even though these routers have NTP services set up and sho clo shows the right time in the "correct" format. Shouldn't the log time pull from the ntp server? On other routers this works fine and I can't see any relevent difference in the configs. Has anyone else exp. this?


Want this....
-----------------------------------------------------
00:28:16: %DEC21140-5-LATECOLL: FastEthernet2/0 transmit error
00:28:24: %DEC21140-5-LATECOLL: FastEthernet2/0 transmit error
Router#sho clock
22:04:01.161 UTC Sun Feb 24 2002

<Running IOS (tm) 7200 Software (C7200-IS-M), Version 12.0(3)T3,>


To be displayed like this...
-------------------------------------------------------
*Feb 23 16:28:17: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up
*Feb 23 16:28:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
Router#sh clo
20:33:03.467 UTC Sun Feb 24 2002

<Running IOS (tm) 7200 Software (C7200-IS-M), Version 12.1(7),>

Thx

Benzito
 
service timestamps debug datetime localtime
service timestamps log datetime localtime
************************
Chris Andrew, CCNA
chrisac@gmx.co.uk
************************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top