12 Hour Difference in Local time and cisco device

shamnad used Ask the Experts™
I have configured my Cisco switch S3850 is getting time from the external NTP Server. After that time on the switch is displaying 12 hrs difference.

How to rectify it to display the correct local time although it is taking from the external ntp server
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sounds like you are missing a CLOCK TIMEZONE line.

Try adding CLOCK TIMEZONE follows by a zone from the page below:

Distinguished Expert 2018

If you have devices spread around the globe it is a good practice for monitoring to keep them all in one zone.

Command to manually adjust clock to your timezone is

# clock timezone <zonename> -12                                 <--- or +12 depending on your timezone

<zonename> can be any word you want
Network Lead: Data and Security
Top Expert 2016
Hi Shamnad,

Try the command on the windows workstation in your local network i.e. tzutil /g to get the local timezone.

Do a #show clock on your switch to get the timezone of the switch.

Based on the above two outputs, configure the timezone accordingly as posted in the links above by our experts.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial