Command Manual – System Maintaining and Debugging
H3C S7500E Series Ethernet Switches
Chapter 1 Basic Configuration Commands
1-2
1.1.2 clock summer-time one-off
Syntax
clock summer-time
zone-name
one-off
start-time
start-date end-time
end-date
add
-
time
undo clock summer-time
View
User view
Parameters
zone-name
: Name of the summer time, a string of 1 to 32 characters. It is case
sensitive.
start-time
: Start time, in the format of
HH:MM:SS
(hours/minutes/seconds). The zeros
in the argument can be omitted except for indicating 0 hours.
start-date
: Start date, in the format of
MM/DD/YYYY
(months/days/years) or
YYYY/MM/DD
.
end-time
: End time, in the format of
HH:MM:SS
(hours/minutes/seconds). The zeros in
the argument can be omitted except for indicating 0 hours.
end-date
: End date, in the format of
MM/DD/YYYY
(months/days/years) or
YYYY/MM/DD
.
add-time
: Time added to the standard time of the device, in the format of
HH:MM:SS
(hours/minutes/seconds). The zeros in the argument can be omitted except for
indicating 0 hours.
Description
Use the
clock summer-time one-off
command to adopt summer time from the
start-time
of the
start-date
to the
end-time
of the
end-date
. Summer time adds the
add-time
to the current time of the device.
Use the
undo clock summer-time
command to cancel the configuration of the
summer time.
After the configuration takes effect, you can use the
display clock
command to view it.
Besides, the time of the log or debug information is the local time of which the time zone
and summer time have been adjusted.
Note that:
z
The time range from
start-time
in
start-date
to
end-time
in
end-date
must be longer
than one day and shorter than one year. Otherwise, the argument is considered as
invalid and the configuration fails.
z
If the current system time is in the time range specified with this command, the
system time automatically adds “add-time” after the execution of this command.