Note
This must be set to the UTC time, otherwise configuration of the timezone will cause the system to adopt the incorrect local time.device# clock set 2019-12-10T16:38:00
Note
Setting the clock is not required whtn NTP is configured and the clock is synchronized to an external NTP server.device# configure terminal
device(config)# clock timezone America/Los_A device(config)# end device# show clock 2019-12-10 08:38:18 America/Los_Angeles device#
The following configuration is an example of the previous steps.
device# clock set 2019-12-10T16:38:00 device# conf Entering configuration mode terminal device(config)# clock timezone America/Los_A device(config)# end device# show clock 2019-12-10 08:38:18 America/Los_Angeles device#