Command Manual (For Soliton) – System Maintenance and Debugging
H3C S3100 Series Ethernet Switches
Chapter 1 Basic System
Configuration and Debugging
Commands
1-3
<Sysname> clock summer-time abc2 repeating 06:00:00 08/01/2005 06:00:00
09/01/2005 01:00:00
<Sysname> display clock
00:01:25 UTC Mon 01/01/2001
Time Zone : add 00:00:00
Summer-Time : abc2 repeating 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
1.1.3 clock timezone
Syntax
clock timezone
zone-name
{
add
|
minus
}
HH:MM:SS
undo clock timezone
View
User view
Parameter
zone-name
: Name of the time zone, in length of 1 to 32 characters.
add
: Specifies to add a time value based on the universal time coordinated (UTC) time
to generate a later time.
minus
: Specifies to subtract a time value based on the UTC time to generate an earlier
time.
HH:MM:SS
: Time to be added or subtracted from the UTC time, in the form of
HH:MM:SS.
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.
After the setting, you can use the
display clock
command to check the setting. The log
information time and the debugging information time adopts the local time after the time
zone and the summer time have been adjusted.
Related command:
clock summer-time
,
display clock
.
Example
# Set the local time zone named z5, which is five hours earlier than the UTC time.
<Sysname> clock timezone z5 add 05:00:00
<Sysname> display clock
05:03:17 z5 Mon 01/01/2001
Time Zone : z5 add 05:00:00