xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
To configure time zone settings:
DGS-3612G:4#config time_zone op hour 2 min 30
Command: config time_zone op hour 2 min 30
Success.
DGS-3612G:4#
config dst
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.
s_day
– Configure the day of the week in which DST begins.
e_day
- Configure the day of the week in which DST ends.
s_mth
- Configure the month in which DST begins.
Purpose
<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.
•
•
•
•
<start_day sun-sat>
- The day of the week in which DST begins
expressed using a three character abbreviation (sun, mon, tue,
wed, thu, fri, sat)
<end_day sun-sat>
- The day of the week in which DST ends
expressed using a three character abbreviation (sun, mon, tue,
wed, thu, fri, sat)
<start_mth 1-12>
- The month to begin DST expressed as a
number.
198