
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
632
72.
Time and SNTP Commands
72-1 clock set
This command is used to manually set the system
’s clock.
clock set
HH:MM:SS DAY MONTH YEAR
Parameters
HH:MM:SS
Specifies the current time in hours (24-hour format), minutes and
seconds.
DAY
Specifies the current day (by date) in the month.
MONTH
Specifies the current month (by name, January, Jan, February, Feb,
and so on).
YEAR
Specifies the current year (no abbreviation).
Default
None.
Command Mode
Privilege EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
Generally, if the system is synchronized by a valid outside timing mechanism, such as SNTP, there is
mp need to set the software clock. Use this command if no other time sources are available. The time
specified in this command is assumed to be in the time zone specified by the configuration of the
clock timezone
command. The clock configured by this command will be applied to RTC if it is
available. The configured clock will not be stored in the configuration file.
If the clock is manually set and the SNTP server is configured, the system will still try to sync the clock
with the server. If the clock is manually set, but a new clock time is obtained by the SNTP server, the
clock will be replaced by the new synced clock.
Example
This example shows how to manually set the software clock to 6:00 p.m. on Jul 4, 2014.
Switch# clock set 18:00:00 4 Jul 2014
Switch#
72-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 recurring
WEEK DAY MONTH HH:MM WEEK DAY MONTH HH:MM
[
OFFSET
]
clock summer-time date
DATE MONTH YEAR HH:MM DATE MONTH YEAR HH:MM
[
OFFSET
]
no clock summer-time
Summary of Contents for DGS-1510 Series
Page 1: ...1 0 ...
Page 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Page 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Page 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Page 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Page 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...