Setting the clock

The Extreme device allows you to manually set the system clock. The time counter setting is retained across power cycles.

To set the clock, perform the following step:
  1. In privileged EXEC mode, set the current date and time in the UTC timezone.
    Note

    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
    This example sets the time and date to 16:38:00 on December 10, 2019.
    Note

    Note

    Setting the clock is not required whtn NTP is configured and the clock is synchronized to an external NTP server.
  2. Enter global configuration mode.
    device# configure terminal
  3. Change the time zone.
    device(config)# clock timezone America/Los_A
    device(config)# end
    device# show clock 
    2019-12-10 08:38:18 America/Los_Angeles
    device#
    This example changes the time zone to the region of America and the city of Los Angeles.

Example

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#