03-21-2007 09:52 AM - edited 03-05-2019 03:02 PM
I am consoleing into a 1800 seris router.
If i do a show clock it shows the correct time. When i see events being logged on the console (IE: a link going up/down) It shows the time as incorrect. It is not applying the correct timezone. Example.
If a link goes down right now (12:50PM)
the console will log the up/down time as 16:50
If do a show clock the time will be 12:50
How do i fix this?
03-21-2007 10:33 AM
Hi
check weather this is configured in ur router.
service timestamps debug datetime
service timestamps log datetime
Thanks
Mahmood
03-21-2007 10:51 AM
Michael
While it is a good thing to do, the service timestamps debug does not relate to the issue that you describe since it controls the timestamps for debug output.
I believe that the answer is in service timestamps log as Mahmood has suggested. And I believe that you probably already have service timestamps log datetime configured, because if you did not the log messages would report uptime rather than clocktime. But I believe that it is not enough to configure service timestamps log datetime. I believe that you need to include the localtime parameter, especially if you are learning time from NTP. So it would be service timestamps log datetime localtime.
HTH
Rick
03-21-2007 11:05 AM
service timestamps log datetime localtime
was the command i needed.
I already had "service timestamps log datetime" configured. I needed the localtime command added.
Thanks alot.
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: