12 Hour Difference in Local time and cisco device

shamnad
shamnad used Ask the Experts™
on
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
Comment
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:

http://www.cisco.com/c/en/us/td/docs/wireless/ncs/appliance/install/guide/primencs_qsg/primencs_qsgtimezones.html
Distinguished Expert 2018

Commented:
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
Commented:
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