2.3.4. clock summer-time
Syntax
clock summer-time ACRONYM date (jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec) <1-31> <2000-2037> HH:MM (jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec) <1-31> <2000-2037> HH:MM [<1-1440>]
clock summer-time ACRONYM recurring (usa|eu) [<1-1440>]
clock summer-time ACRONYM recurring (<1-5> | first | last) (sun | mon | tue | wed | thu | fri | sat) (jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec) HH:MM (<1-5> | first | last) (sun | mon | tue | wed | thu | fri | sat) (jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec) HH:MM [<1-1440>]
no clock summer-time
Parameter
ACRONYM |
Specify acronym name of time zone |
date |
Non recurring daylight saving time duration |
<1-1440> |
Adjust daylight saving time offset |
usa |
Using daylight saving time in the United States that starts on the second Sunday of March and ends on the first Sunday of November |
eu |
Using daylight saving time in the Europe that starts on the last Sunday in March and ending on the last Sunday in October |
recurring |
Specify ecurring daylight saving time duration. |
Default
No default daylight saving time is defined.
Mode
Global Configuration
Usage
Use the clock summer-time command to set daylight saving time for
system time. The “usa” or “eu” means that use the global
daylight saving policy which defined by international organization. In
both the “date”and “recurring”, the first part of the command
specifies when summer time begins, and the second part specifies when
it ends. All times are relative to the local time zone. The
“recurring” means that adjust time every year within the month.
Use the no form of this command to default setting.
You can verify your setting by entering the show clock detail
command.
Example
The example shows how to set clock summer time of switch. You can verify settings by the following show show clock command.
Switch(config)# clock summer-time test recurring usa
Switch(config)# show clock detail
08:32:12 msk(UTC+3) Sep 21 2012
No time source
Time zone: Acronym is msk Offset is UTC+3.
Summertime: Acronym is test Recurring every year. Begins at 2 0 3 2:0
Ends at 1 0 11 2:0
Offset is 60 minutes.