DES-30XX Layer 2 Switch CLI Reference Manual
147
config time_zone
Purpose
Used to determine the time zone used in order to adjust the system clock.
Syntax
config time_zone {operator [+ | -] | hour <gmt_hour 0-13> | min
<minute 0-59>}
Description
This will adjust system clock settings according to the time zone. Time zone
settings will adjust SNTP information accordingly.
Parameters
operator
– Choose to add (+) or subtract (-) time to adjust for time zone
relative to GMT.
hour
– Select the number hours offset from GMT (Greenwich Mean Time).
min
– Select the number of minutes difference added or subtracted to
adjust the time zone.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To configure time zone settings:
DES-3026:4#config time_zone op hour 2 min 30
Command: config time_zone op hour 2 min 30
Success.
DES-3026:4#
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_wday
<start_weekday sun-sat>| s_mth <start_mth 1-12> | s_time <start_time
hh:mm> | e_week <end_week 1-4,last> | e-wday <end_weekday 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.