07-19-2013 12:23 AM - edited 03-07-2019 02:29 PM
Hi ...
I configure NTP on my switch. I can see Exact time on sh clock time but logg it showing different time.
Please help me to resolve this..
Switch#sh clock
12:47:49.315 IST Fri Jul 19 2013
Switch#wr
Switch#sh logging
Jul 19 06:53:21.503: %SYS-5-CONFIG_I: Configured from console by occadmin on vty0 (192.168.1.5)
Solved! Go to Solution.
07-19-2013 12:41 AM
Hi,
try this command
service timestamps[debug| log] [uptime| datetime[msec]] [localtime] [show-timezone] [year]
For example, to see the date and time as well as the time zone:
Router(config)#service timestamps log datetime
localtime show-timezone year
To turn on these settings also for debug:
Router(config)
#
service timestamps debugging datetime localtime show-timezone year
Best regards,
Jan
07-19-2013 03:12 AM
Hi,
I am happy to hear that, please, if you could mark the question as answered, that would be great. Thank you!
Best regards,
Jan
07-19-2013 12:41 AM
Hi,
try this command
service timestamps[debug| log] [uptime| datetime[msec]] [localtime] [show-timezone] [year]
For example, to see the date and time as well as the time zone:
Router(config)#service timestamps log datetime
localtime show-timezone year
To turn on these settings also for debug:
Router(config)
#
service timestamps debugging datetime localtime show-timezone year
Best regards,
Jan
07-19-2013 03:07 AM
Hi Jan...
I try this command. Its working fine... Thanks...
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
Thanks
Bala
07-19-2013 03:12 AM
Hi,
I am happy to hear that, please, if you could mark the question as answered, that would be great. Thank you!
Best regards,
Jan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide