Command Manual – System Maintaining and Debugging
H3C S7500E Series Ethernet Switches
Chapter 1 Basic Configuration Commands
1-4
end date is
Sunday
,
Monday
,
Tuesday
,
Wednesday
,
Thursday
,
Friday
,
Saturday
.
add-time
: Time added to the current 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 repeating
command to adopt summer-time repeatedly.
Use the
undo clock summer-time
command to cancel the configuration of the
daylight saving time.
For example, when
start-date
and
start-time
are set to 2007/6/6 and 00:00:00,
end-date
and
end-time
to 2007/10/01 and 00:00:00, and
add
-
time
to 01:00:00, it specifies to
adopt daylight saving time from 00:00:00 of June 6 until 00:00:00 of October 1 each
year from 2007 (2007 inclusive). The daylight saving time adds one hour to the current
device time.
After the configuration takes effect, use the
display clock
command to view the result.
The information such as log file and debug adopts the local time modified by time-zone
and daylight saving time.
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.
Related commands:
clock datetime
,
clock summer-time one-off
,
clock timezone
,
display clock
.
Examples
# For the summer time in
abc2
between 06:00:00 on 08/01/2007 and 06:00:00 on
09/01/2007 and from 06:00:00 08/01 to 06:00:00 on 09/01 each year after 2007, set the
system clock ahead one hour.
<Sysname> clock summer-time abc2 repeating 06:00:00 08/01/2007 06:00:00
09/01/2007 01:00:00
1.1.4 clock timezone
Syntax
clock timezone
zone-name
{
add
|
minus
}
zone-offset
undo clock timezone