149
config dst
Purpose
Used to enable and configure time adjustments to allow for the use of
Daylight Savings Time (DST).
Syntax
config dst [disable | repeating {s_week <start_week 1-4,last> |
s_day <start_day sun-sat> | s_mth <start_mth 1-12> | s_time
start_time hh:mm> | e_week <end_week 1-4,last> | e_day
<end_day sun-sat> | e_mth <end_mth 1-12> | e_time <end_time
hh:mm> | offset [30| 60 | 90 | 120]} | annual {s_date start_date 1-
31> | s_mth <start_mth 1-12> | s_time <start_time hh:mm> |
e_date <end_date 1-31> | e_mth <end_mth 1-12> | e_time
<end_time hh:mm> | offset [30|60|90|120]}]
Description
DST can be enabled and configured using this command. When
enabled this will adjust the system clock to comply with any DST
requirement. DST adjustment effects system time for both manually
configured time and time set using SNTP service.
Parameters
disable -Disable the DST seasonal time adjustment for the switch.
repeating - Using repeating mode will enable DST seasonal time
adjustment. Repeating mode requires that the DST beginning and
ending date be specified using a formula. For example, specify to
begin DST on Saturday during the second week of April and end DST
on Sunday during the last week of October.
annual - Using annual mode will enable DST seasonal time
adjustment. Annual mode requires that the DST beginning and
ending date be specified concisely. For example, specify to begin
DST on April 3 and end DST on October 14.
s-week - Configure the week of the month in which DST begins.
<start_week 1-4,last> - The number of the week during the month in
which DST begins where 1 is the first week, 2 is the second week
and so on, last is the last week of the month.
e-week - Configure the week of the month in which DST ends.
<end_week 1-4,last> - The number of the week during the month in
which DST ends where 1 is the first week, 2 is the second week and
so on, last is the last week of the month.
s-wday – Configure the day of the week in which DST begins.
<start_weekday sun-sat> - The day of the week in which DST begins
expressed using a three character abbreviation (sun, mon, tue, wed,
thu, fri, sat)
e-wday - Configure the day of the week in which DST ends.
<end_weekday sun-sat> - The day of the week in which DST ends
expressed using a three character abbreviation (sun, mon, tue, wed,
thu, fri, sat)
s-mth - Configure the month in which DST begins.
<start_mth 1-12> - The month to begin DST expressed as a number.