3-4
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 daylight saving 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> system-view
[Sysname] clock summer-time abc2 repeating 06:00:00 08/01/2007 06:00:00 09/01/2007 01:00:00
clock timezone
Syntax
clock timezone
zone-name
{
add
|
minus
}
zone-offset
undo clock timezone
View
System view
Default Level
3: Manage level
Parameters
zone-name
: Time zone name, a string of 1 to 32 characters. It is case sensitive.
add
: Positive offset to universal time coordinated (UTC) time.
minus
: Negative offset to UTC time.
zone-offset
: Offset to UTC time. In the format of
HH/MM/SS
(hours/minutes/seconds), where
HH
is
hours in the range 0 to 23,
MM
is minutes in the range 0 to 59, and
SS
is seconds in the range 0 to 59.
The zeros in the argument can be omitted except for indicating 0 hours.
Description
Use the
clock timezone
command to set the local time zone.
Use the
undo clock timezone
command to restore the local time zone to the default UTC time zone.
By default, the local time zone is UTC zone.
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.
Related commands:
clock datetime
,
clock summer-time one-off
,
clock summer-time repeating
,
display clock
.
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 ...