×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.
royalblues Wed, 07/02/2008 - 21:40
User Badges:
  • Green, 3000 points or more

Logging timestamps require an authoritative time on the router.


Have you configure the following in addition to setting the time?


service timestamps debug datetime msec localtime show-timezone

service timestamps log datetime msec localtime show-timezone


clock timezone IST 5 30


Narayan

Route_reflector Thu, 07/03/2008 - 00:54
User Badges:

Hi,

If you dont know the time zone detail, configure the exact time with "clock set ..." command in previlage mode..

This will enable log & debug time to be captured at current time..

Regards,

Richard Burts Thu, 07/03/2008 - 07:10
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

All the discussion about time zones and about how to set the clock are interesting and good but not essential to solving the question that Goutam wants answered about how to get the log messages to show clock time instead of uptime. Narayan was exactly right in suggesting that service timestamps log datetime is the essential command to get the log messages to show clock time. He deserves the rating that he got for it.


HTH


Rick

Actions

This Discussion