12-14-2020 07:05 AM
Hello NetPros,
I have successfully changed the timezone on my devices, in an attempt to have the logs show local time and not UTC I used the command “service timestamps log datetime localtime show-timezone” (found this in this forum).
The result is the time zone on the logs has changed but not the clock.
Dec 14 16:52:41 CAT: %PARSER-5-CFGLOG_LOGGEDCMD: User:administrator logged command:service timestamps log datetime localtime show-timezone
Dec 14 16:52:43 CAT: %SYS-5-CONFIG_I: Configured from console by administrator on vty0 (172.16.4.145)
ASW-001#
ASW-001#sh clock
16:55:49.847 CAT Mon Dec 14 2020
ASW-001#
Regards & Respect
Shaqx
12-14-2020 07:27 AM
Can show post below output :
show clock
show run | in logg
12-14-2020 08:14 AM
Hello @balaji.bandi ,
Voila!! It hs picked logs are showing local time now. Thank you for your ever willingness to help.
Dec 14 2020 17:59:44 CAT: %SYS-5-CONFIG_I: Configured from console by administrator on vty0 (172.16.4.145)
Dec 14 2020 18:09:58 CAT: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: administrator] [Source: 172.16.4.145] [localport: 22] at 18:09:58 CAT Mon Dec 14 2020
ASW-001# sh clo
18:13:58.734 CAT Mon Dec 14 2020
ASW-001#
Regards & Respect,
Shaqx
12-14-2020 08:31 AM
Glad all sorted we take this as resolved now.
12-14-2020 07:55 AM
I may be mistaken, but if you were looking for the router to also reset its clock when you reset the timezone, I recall (?), doesn't happen automatically. Have you tried just resetting the clock value to your local time?
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