2406 CHAPTER 162: BASIC CONFIGURATION COMMANDS

View User view

Parameter zone-name: Name of the summer time, a string of 1 to 32 characters. It is case sensitive.

start-time: Start time, in the format of HH:MM:SS (hours/minutes/seconds). The zeros in the argument can be omitted except for indicating 0 hours.

start-date: Start date, in the format of MM/DD/YYYY (months/days/years) or YYYY/MM/DD.

end-time: End time, in the format of HH:MM:SS (hours/minutes/seconds). The zeros in the argument can be omitted except for indicating 0 hours.

end-date: End date, in the format of MM/DD/YYYY (months/days/years) or YYYY/MM/DD.

add-time: Time added to the standard time of the device, in the format of HH:MM:SS (hours/minutes/seconds). The zeros in the argument can be omitted except for indicating 0 hours.

Description Use the clock summer-timeone-offcommand to adopt summer time from the start-timeof the start-dateto the end-timeof the end-date. Summer time adds the add-timeto the current time of the device.

Use the undo clock summer-timecommand to cancel the configuration of the summer time.

After the configuration takes effect, you can use the display clock command to view it. Besides, the time of the log or debug information is the local time of which the time zone and summer time have been adjusted.

Note that:

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.

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 command: clock datetime, clock summer-time repeating, clock timezone, display clock.

Example # For daylight saving time in abc1 between 06:00:00 on 08/01/2006 and 06:00:00 on 09/01/2006, set the system clock ahead one hour.

<Sysname> clock summer-time abc1 one-off 6 08/01/2006 6 09/01/2006 1

Page 2406
Image 2406
3Com MSR 30, MSR 50 manual Basic Configuration Commands