Clock 125
Examples
The following example sets the timezone to 6 hours difference from UTC.
clock summer-time
The clock summer-time Global Configuration mode command configures the system to automatically
switch to summer time (daylight saving time). Use the no form of this command to configure the
software to not automatically switch to summer time.
Syntax
•
clock summer-time recurring
{
usa
|
eu
| {
week day month hh:mm week day month hh:mm
}} [
offset
offset
] [
zone
acronym
]
•
clock summer-time date
date month year hh:mm date month year hh:mm
[
offset
offset
] [
zone
acronym
]
•
clock summer-time date
month date year hh:mm month date year hh:mm
[
offset
offset
] [
zone
acronym
]
• no clock summer-time
•
recurring
— Indicates that summer time should start and end on the corresponding specified days
every year.
•
date
— Indicates that summer time should start on the first specific date listed in the command
and end on the second specific date in the command.
•
usa
— The summer time rules are the United States rules.
•
eu
— The summer time rules are the European Union rules.
•
week —
Week of the month. (Range: 1 - 4,
first
,
last
)
•
day —
Day of the week. (Range: first three letters by name, like
sun
)
•
date —
Date of the month. (Range:1 - 31)
•
month —
Month. (Range: first three letters by name)
•
year —
year - no abbreviation. (Range: 2000 - 2097)
•
hh:mm —
Time in military format, in hours and minutes. (Range: hh: 0 - 23, mm:0 - 59)
•
offset
offset —
Number of minutes to add during summer time. (Range: 1 - 1440)
•
zone
acronym
— The acronym of the time zone to be displayed when summer time is in effect. If
unspecified default to the timezone acronym. (Range: Up to 4 characters)
Console# (config)# clock timezone -6 zone CST
5400_CLI.book Page 125 Wednesday, December 17, 2008 4:33 PM