Commands For Summer Time (Daylight Savings Time)

13.4 Commands for Summer Time (Daylight Savings Time)

13.4.1 clock summer-time absolute

Command: clock summer-time <WORD> absolute <HH:MM> <YYYY.MM.DD> <HH:MM> <YYYY.MM.DD> [<offset>] no clock summer-time
Function: Configure summer time range (daylight savings time). The time in this range is summer time (daylight savings time). The no command deletes the configuration.
Parameters:

  • <WORD>: time zone name of summer time (daylight savings time).
  • <HH:MM>: start time. The format is hour (ranging from 0 to 23) and minute (ranging from 0 to 59).
  • <YYYY.MM.DD>: start date. The format is year (ranging from 1970 to 2038), month (from 1 to 12), and date (from 1 to 31).
  • the second <HH:MM>: end time. The format is hour (ranging from 0 to 23) and minute (ranging from 0 to 59).
  • the second <YYYY.MM.DD>: end date. The format is year (ranging from 1970 to 2038), month (from 1 to 12), and date (from 1 to 31).
  • <offset>: time offset. The range is from 1 to 1440 in minutes. The default value is 60 minutes.

Command mode: Global Mode
Default: There is no summer time (daylight savings time) range.
Usage guide: This command sets the absolute start and end time for summer time (daylight savings time). When the system time reaches the starting point of summer time (daylight savings time), the clock is changed and increases the <offset> value. The system then enters summer time (daylight savings time). When the system time reaches the end point of summer time (daylight savings time), the clock is changed again, subtracts <offset> value from system time, and the system finishes summer time (daylight savings time). Note: the end time should be bigger than the start time to configure summer time (daylight savings time).
Example: Configure the time range of summer time (daylight savings time) at 12:10 from April 6th to August 6th in 2014, offset value to 70 minutes, summer time (daylight savings time) is named aaa.

active500EM(config)#clock summer-time aaa absolute 12:10 2014.4.6 12:10 2014.8.6 70

 

13.4.2 clock summer-time recurring

Command: clock summer-time <WORD> recurring <HH:MM> <MM.DD> <HH:MM> <MM.DD> [<offset>] no clock summer-time
Function: Configure the recurrent summer time (daylight savings time)?range. The time in this range is summer time (daylight savings time).
Parameters:

  • <WORD>: time zone name of summer time (daylight savings time).
  • <HH:MM>: start time. The format is hour (ranging from 0 to 23) and minute (ranging from 0 to 59).
  • <MM.DD>: start date. The format is month (ranging from 1 to 12), and date (ranging from 1 to 31).
  • <HH:MM>: end time. The format is hour (ranging from 0 to 23), and minute (ranging from 0 to 59).
  • <MM.DD>: end date. The format is month (ranging from 1 to 12) and date (ranging from 1 to 31).
  • <offset>: time offset. The valid range is from 1 to 1440 in minutes. The default value is 60 minutes.

Command mode: Global Mode
Default: There is no summer time (daylight savings time) range.
Usage guide: This command sets the start and the end time for the recurrent summer time (daylight savings time). When the system time reaches the starting point of summer time (daylight savings time), the clock is changed and increases by the <offset> value. Then, the system enters summer time. (daylight savings time)?When the system time reaches the end point of summer time (daylight savings time), the clock is changed again, subtracts the <offset> value from system time, and the system finishes summer time (daylight savings time). There is no relation between the recurrent summer time (daylight savings time)?to the year. The system clock will be changed when it reaches the start and the end time point of summer time (daylight savings time) year after year. This command can also support summer time (daylight savings time) in the Southern Hemisphere as well.
Example: Configure the time range of summer time (daylight savings time) to 12:10 from April 6th to August 6th year after year, offset value as 70 minutes, summer time (daylight savings time)?is named aaa.

active500EM(config)#clock summer-time aaa recurring 12:10 4.6 12:10 8.6 70

 

13.4.3 clock summer-time recurring

Command: clock summer-time <WORD> recurring <HH:MM> <week> <day> <month> < HH:MM > <week> <day> <month> [<offset>] no clock summer-time
Function: Configure the recurrent summer time range (daylight savings time). The time in this range is summer time (daylight savings time).
Parameters:

  • <WORD>: time zone name of summer time (daylight savings time).
  • <HH:MM>: start time. The format is hour (ranging from 0 to 23) and minute (ranging from 0 to 59).
  • <week>: week. The valid values are 1 to 4 (as first to last).
  • <day>: weekday value. The values are ?Sun?, ?Mon?, ?Tue?, ?Wed?, ?Thu?, ?Fri?, and ?Sat?; <month>: month. The values are ?Jan?, ?Feb?, ?Mar?, ?Apr?, ?May?, ?Jun?, ?Jul?, ?Aug?, ?Sep?, ?Oct?, ?Nov?, and ?Dec?.
  • <HH:MM>: end time. The format is hour (ranging from 0 to 23) and minute (ranging from 0 to 59).
  • <week>: week. The valid values are from 1 to 4 (first or last).
  • <day>: weekday value. The values are ?Sun?, ?Mon?, ?Tue?, ?Wed?, ?Thu?, ?Fri?, and ?Sat?.
  • <month>: month. The values are ?Jan?, ?Feb?, ?Mar?, ?Apr?, ?May?, ?Jun?, ?Jul?, ?Aug?, ?Sep?, ?Oct?, ?Nov?, and ?Dec?.
  • <offset>: time offset. The valid range is from 1 to 1440 in minutes. The default value is 60 minutes.

Command mode: Global Mode
Default: There is no summer time (daylight savings time) range.
Usage guide: This command sets the start and end time for the recurrent summer time (daylight savings time) flexibly. When the system time reaches the starting point of summer time (daylight savings time), the clock is changed and increases by the <offset> value, and the system enters summer time (daylight savings time). When the system time reaches the end point of summer time (daylight savings time), the clock is changed again, and subtracts <offset> value from system time, and the system finishes summer time (daylight savings time). There is no relation between the recurrent summer time (daylight savings time)?to the year. The system clock will be changed when it reaches the start and the end point of summer time (daylight savings time) year after year. This command also supports the summer time (daylight savings time) in the Southern Hemisphere as well.
Example: Configure summer time (daylight savings time) at 12:10 from the first Monday of April to the last Saturday of August year after year, offset value as 70 minutes, summer time (daylight savings time) is named as aaa.

active500EM(config)#clock summer-time aaa recurring 12:10 1 mon apr 12:10 last sat aug 70

 


Return to Controller Wired CLI Table of Contents