Users Guide
● Before you downgrade, disable the DST configuration or update the setting using the clock timezone command to
specify only the local time zone.
● After the downgrade is complete, ignore the CLI error and reconfigure the setting using the clock timezone command to
specify only the local time zone.
Configure system time and date
● Enter the time and date in EXEC mode.
clock set time year-month-day
○ time — Enter the time in the format hour:minute:second, where hour is 1 to 24; minute is 1 to 60; second is 1
to 60. For example, enter 5:15 PM as 17:15:00.
○ year-month-day — Enter the date in the format YYYY-MM-DD, where YYYY is a four-digit year, such as 2016; MM is
a month from 1 to 12; DD is a day from 1 to 31.
● Enter the time zone in CONFIGURATION mode.
clock timezone {standard-timezone standard-timezone-name | {timezone-string Hours
Minutes}}
○ standard-timezone-name — Enter a standard time zone name that is supported in Linux. To view a list of
supported standard time zone names, see the Time zones and UTC offset reference section.
○ timezone-string — Enter the name of the time zone.
○ hours — Enter the hour offset from UTC, ranging from -23 to 23.
○ minutes - Enter the minute offset from UTC, ranging from 0 to 59.
Set time and date
OS10# clock set 13:00:00 2018-08-30
View system time and date
OS10# show clock
2018-08-30T13:01:01.45+00:00
Set time zone
OS10(config)# clock timezone standard-timezone Brazil/West
View time zone configured
OS10# show clock timezone
Brazil/West (-04, -0400)
In this example, -04:00 is the negative offset from UTC for Brazil/West.
Time zones and UTC offset reference
This section lists the different time zones and corresponding UTC offset.
Table 29. Time zones and UTC offset
Continent/Country City UTC offset
Africa Abidjan +00:00
Accra +00:00
Addis_Ababa +03:00
Algiers +01:00
Asmara +03:00
184 System management