R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101
40
start-time: Specifies a start time, in the hh:mm:ss format. Zeros can be omitted, unless you specify
00:00:00.
start-date: Specifies a start date, which can be set in the following ways:
• Enter the year, month and date at one time, in the MM/DD/YYYY or YYYY/MM/DD format.
• Enter the year, month and date one by one, separated by spaces. The year ranges from 2000 to
2035; the month can be January, February, March, April, May, June, July, August, September,
October, November or December; the start week can be the first, second, third, fourth, fifth or last
week of the month; the start date is Sunday, Monday, Tuesday, Wednesday, Thursday, Friday,
Saturday.
end-time: Specifies an end time, in the hh:mm:ss format. Zeros can be omitted, unless you specify
00:00:00.
end-date: Specifies an end date, which can be set in the following ways:
• Enter the year, month and date at one time, in the MM/DD/YYYY or YYYY/MM/DD format.
• Enter the year, month and date one by one, separated by spaces. The year ranges from 2000 to
2035; the month can be January, February, March, April, May, June, Jul
y, August, September,
October, November or December; the end week can be the first, second, third, fourth, fifth or last
week of the month; the end date is Sunday, Monday, Tuesday, Wednesday, Thursday, Friday,
Saturday.
add-time: Specifies a time to be added to the standard time of the device, in the hh:mm:ss format. Zeros
can be omitted, unless you specify 00:00:00.
Description
Use clock summer-time repeating to set a recurring daylight saving schedule.
Use undo clock summer-time to cancel the configuration of the daylight saving time.
By default, daylight saving time is disabled and UTC time zone applies.
The interval between start-time start-date and end-time end-date must be longer than one day and shorter
than one year. If the current system time is in the specified daylight saving days, the add-time value
automatically adds to the system time.
To verify the setting, use the display clock command.
The timestamps in system messages are adjusted in reference to the time zone and daylight saving
schedule.Related commands: clock datetime, clock summer-time one-off, clock timezone, and display
clock.
Examples
# Set the system time ahead one hour every year after (inclusive) for the period from August 1 at
06:00:00 to September 1 at 06:00:00.
<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