DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
220
replaced by the new synced clock.
Example
This example shows how to manually set the software clock to 3:45 p.m. on Mar 16, 2017.
Switch# clock set 15:45:00 16 mar 2017
Switch#
40-2
clock summer-time
This command is used to configure the system to automatically switch to summer time (daylight saving time).
Use the
no
form of this command to configure the Switch to not automatically switch over to summer time.
clock summer-time date
DATE MONTH YEAR HH:MM DATE MONTH YEAR HH:MM
[
OFFSET
]
no clock summer-time
Parameters
date
Specifies that summer time should start and end on the specified
date of the specified month.
DATE
Specifies the date of the month (1 to 31).
MONTH
Specifies the month (1 to 12).
YEAR
Specifies the start and end years for the summer time data.
HH:MM
Specifies the time (24 hours format ) in hours and minutes.
OFFSET
(Optional) Specifies the number of minutes to add during summer
time. The default value is 60. The range of this offset is 30, 60, 90
and 120.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to automatically switch over to summer time. .
Example
This example shows how to specify that summer time starts on 2:00 a.m. on Jun 16, 2017 and ends on 2:00
a.m. on Dec 31, 2017.
Switch# configure terminal
Switch(config)# clock summer-time date 1 6 2017 2:00 31 12 2017 2:00
Switch(config)#