Time And Sntp Commands - D-Link DGS-1510 Series Reference Manual

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide

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
DAY
MONTH
YEAR
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
Specifies the current time in hours (24-hour format), minutes and
seconds.
Specifies the current day (by date) in the month.
Specifies the current month (by name, January, Jan, February, Feb,
and so on).
Specifies the current year (no abbreviation).
632

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents