xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
692
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 of hours different from GMT.
min
– Select the number of minutes difference added or subtracted to adjust the time zone.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure time zone settings:
DGS-3627:admin# config time_zone operator + hour 2 min 30
Command: config time_zone operator + hour 2 min 30
Success.
DGS-3627:admin#
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.