3-2
undo clock summer-time
View
System view
Default Level
3: Manage level
Parameters
zone-name
: Name of the daylight saving 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 daylight saving time from the
start-time
of the
start-date
to the
end-time
of the
end-date
. Daylight saving 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 daylight saving 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 daylight saving 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.
Related commands:
clock datetime
,
clock summer-time repeating
,
clock timezone
,
display
clock
.
Examples
# For daylight saving time in
abc1
between 06:00:00 on 08/01/2006 and 06:00:00 on 09/01/2006, set
the system clock ahead one hour.
<Sysname> system-view
[Sysname] clock summer-time abc1 one-off 6 08/01/2006 6 09/01/2006 1
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...