
63-376
Chapter 63 Commands for Summer Time
63.1 clock summer-time absolute
Command:
clock summer-time <
word
> absolute <
HH:MM
> <
YYYY.MM.DD
> <
HH:MM
> <
YYYY.MM.DD
> [<
offset
>]
no
clock summer-time
Function:
Configure summer time range, the time in this range is summer time. The no command deletes the configuration.
Parameter:
<word>
is the time zone name of summer time;
<
HH:MM
>
is the start time, the format is hour (from 0 to 23):minute
(from 0 to 59);
<
YYYY.MM.DD
>
is the start date, the format is year (from 1970 to 2038).month (from 1 to 12).date
(from 1 to 31);
<
HH:MM
>
is the end time, the format is hour (from 0 to 23):minute (from 0 to 59);
<
YYYY.MM.DD
>
is
the end date, the format is year (from 1970 to 2038).month (from 1 to 12).date (from 1 to 31);
<
offset
>
is the time
offset, the range from 1 to 1440, unit is minute, default value is 60 minutes.
Default:
There is no summer time range.
Command Mode:
Global Mode
Usage Guide:
This command sets the absolute start and end time for summer time. When the system time reaches to the start time
point of summer time, the clock is changed and increase <offset> value, the system enters summer time. When the
system time reaches to the end time point of summer time, the clock is changed again, subtract <offset> value from
system time, the system finishes summer time. Note: the end time should be bigger than the start time for configuring
summer time.
Example:
Configure the time range of summer time at 12:10 from april 6th to augest 6th in 2010, offset value as 70 minutes,
summer time is named as aaa.
Switch(config)#clock summer-time aaa absolute 12:10 2010.4.6 12:10 2010.8.6 70