D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
15
6
config time_zone
Purpose To determine the time zone used in order to adjust the system clock.
Syntax
config time_zone {operator [+ hour <gmt_hour 0-13> minute
<minute 0-59> | - hour <gmt_hour 0-12> minute <minute 0-59>]}
Description The config time_zone command adjusts the system clock settings
according to the time zone. Time zone settings adjust SNTP
information accordingly.
Parameters operator – May be (+) to add or (-) to subtract time to adjust for time
zone relative to GMT.
hour <gmt_hour 0-13> – Specifies the number of hours difference
from GMT.
Minute <minute 0-59> – Specifies the number of minutes added or
subtracted to adjust the time zone.
Restrictions Only administrator or operator level users can issue this command.
Example usage:
To configure time zone settings:
DGS3100# config time_zone operator + hour 2 min 30
Success.
DGS3100#
config dst
Purpose
To configure time adjustments to allow for the use of Daylight Saving
Time (DST).
Syntax
config dst [disable | repeating {week day month hh:mm week
day month hh:mm | offset [30 | 60 | 90 | 120]} | annual {date
month hh:mm date month hh:mm | offset [30 | 60 | 90 | 120]}]
Description The config dst command disables or configures Daylight Saving
Time (DST). When enabled, this adjusts the system clock to comply
with any DST requirement. DST adjustment affects system time for
both manually configured time and time set using SNTP service.
Parameters disable - Disables the DST seasonal time adjustment for the Switch.
repeating - Enables DST seasonal time adjustment on a repeating
basis. 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. The format for repeating
mode is as follows, and in the order listed:
<week 1-4,last> - The week of the month in which DST
begins, where 1 is the first week, 2 is the second week and
so on, and last is the last week of the month.
<day sun-sat> - The weekday on which DST begins,
expressed using a three character abbreviation (sun, mon,
tue, wed, thu, fri, sat)
<month 1-12> - The month of the year to begin DST,