10-01-2007 05:55 AM
Hi I have NTP servers, timezones and summertime set up on our devices, but while 'show clock' does show the correct time (without the star too), 'show log' runs one hour behind.
What can I do to sort it out?
Thank you.
Solved! Go to Solution.
10-01-2007 05:58 AM
Hi,
Apply the following config
service timestamps debug datetime msec show-timezone localtime
service timestamps log datetime msec show-timezone localtime
Regards,
Dandy
10-01-2007 05:58 AM
Hi,
Apply the following config
service timestamps debug datetime msec show-timezone localtime
service timestamps log datetime msec show-timezone localtime
Regards,
Dandy
10-01-2007 06:12 AM
Thank you very much - one question - why 'service timestamps debug datetime msec show-timezone localtime' ?
10-01-2007 06:25 AM
Hi,
Command "service timestamps"
Options;
debug = Indicates that the timestamp should be applied to debugging messages.
log = Indicates that the timestamp should be applied to system logging messages.
uptime = Time stamp with the time since the system was rebooted. The time stamp format for uptime is HHHH:MM:SS.
datetime = Time stamp with the date and time. The time stamp format for datetime is MMM DD HH:MM:SS.
msec = Include milliseconds in the time stamp.
localtime = Time stamp relative to the local time zone.
year = Include the year in the datetime format.
show-timezone = Include the time zone name in the time stamp.
Regards,
Dandy
10-01-2007 06:36 AM
Thank you again all worked.
10-01-2007 07:03 AM
Glad to help :)
Regards,
Dandy
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: