Command Manual – System Maintaining and Debugging
H3C S7500E Series Ethernet Switches
Chapter 1 Basic Configuration Commands
1-5
View
User view
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
: 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
.
Examples
# Set the name of the local time zone to
Z5
, five hours ahead of UTC time.
<Sysname> clock timezone z5 add 5
1.1.5 command-privilege
Syntax
command-privilege level level view view
command
undo command-privilege view view
command
View
System view
Parameters
level level
: Command level, in the range 0 to 3.
view view
: Specifies a view.
command
: Command to be set in the specified view.