Command Manual (For Soliton) – System Maintenance and Debugging
H3C S3100 Series Ethernet Switches
Chapter 1 Basic System
Configuration and Debugging
Commands
1-2
1.1.2 clock summer-time
Syntax
clock summer-time
zone-name
{
one-off
|
repeating
}
start-time
start-date end-time
end-date
offset
-
time
undo clock summer-time
View
User view
Parameter
zone-name
: Name of the summer time, a string of 1 to 32 characters.
one-off
: Sets the summer time for only one year (the specified year).
repeating
: Sets the summer time for every year starting from the specified year.
start-time
: Start time of the summer time, in the form of HH:MM:SS.
start-date
: Start date of the summer time, in the form of YYYY/MM/DD or
MM/DD/YYYY.
end-time
: End time of the summer time, in the form of HH:MM:SS.
end-date
: end date of the summer time, in the form of YYYY/MM/DD or MM/DD/YYYY.
offset-time
: Offset of the summer time relative to the standard time, in the form of
HH:MM:SS.
Description
Use the
clock summer-time
command to set the name, time range and time offset of
the summer time.
After the setting, you can use the
display clock
command to check the results.
Example
# Set the summer time named abc1, which starts from 06:00:00 2005/08/01, ends until
06:00:00 2005/09/01, and is one hour ahead of the standard time.
<Sysname> clock summer-time abc1 one-off 06:00:00 08/01/2005 06:00:00
09/01/2005 01:00:00
<Sysname> display clock
00:02:36 UTC Mon 01/01/2001
Time Zone : add 00:00:00
Summer-Time : abc1 one-off 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
# Set the summer time named abc2, which starts from 06:00:00 08/01, ends until
06:00:00 09/01, and is one hour ahead of the standard time every year from 2005 on.