Sets a Cisco IOS device’s time-zone name and offset from Coordinated Universal Time (UTC) in global configuration mode. section 2.1.2
Configure and interpret the setting as follows:
- Enter clock timezone name hours-offset minutes-offset; offsets specify hours and minutes ahead of or behind UTC. section 2.1.2
- Expect the displayed clock time to move forward or backward after changing the time zone; reconfigure the time if necessary. section 2.1.2
- Configure daylight saving time separately with clock summer-time when the location observes seasonal clock changes. section 2.1.2
- Verify the result with show clock; UTC is the default when no alternate time zone is configured. section 2.4
R1(config)# clock timezone JST 9 0 #1 R1(config)# do show clock 03:50:09.104 JST Tue Aug 29 2023 #2 #1 The JST time zone is 9 hours and 0 minutes ahead of UTC. #2 The time zone has changed to JST.
Shows a global configuration example that assigns JST with a nine-hour offset and verifies the resulting local time. section 2.1.2
