152
Default
Daylight saving time is disabled and the UTC time zone applies.
Views
System view
Default command level
3: Manage level
Parameters
zone-name
: Specifies a daylight saving time schedule by a zone name, a case-sensitive string of 1 to 32
characters.
start-time
: Specifies a start time, in the
hh:mm:ss
format. Zeros can be omitted, unless you specify
00:00:00.
start-date
: Specifies a start date, in the
MM/DD/YYYY
or
YYYY/MM/DD
format.
end-time
: Specifies an end time, in the
hh:mm:ss
format. Zeros can be omitted, unless you specify
00:00:00.
end-date
: Specifies an end date, in the
MM/DD/YYYY
or
YYYY/MM/DD
format.
add-time
: Specifies a time to be added to the standard time of the device, in the
hh:mm:ss
format. Zeros
can be omitted, unless you specify 00:00:00.
Usage guidelines
The interval between
start-time
start-date
and
end-time
end-date
must be longer than one day and shorter
than one year. If the current system time is in the specified daylight saving days, the
add-time
value
automatically adds to the system time.
To verify the setting, use the
display clock
command.
The timestamps in system messages are adjusted in reference to the time zone and daylight saving
schedule.
Examples
# Set the system time ahead one hour for the period between 06:00:00 on 08/01/2011 and 06:00:00
on 09/01/2011.
<Sysname> system-view
[Sysname] clock summer-time abc1 one-off 6 08/01/2011 6 09/01/2011 1
Related commands
•
clock datetime
•
clock summer-time repeating
•
clock timezone
•
display clock
clock summer-time repeating
Use
clock summer-time repeating
to set a recurring daylight saving schedule.
Use
undo clock summer-time
to cancel the configuration of the daylight saving time.