D-Link DES-3550 Switch User Manual


 
145
23
TIME AND SNTP COMMANDS
The Simple Network Time Protocol (SNTP) (an adaptation of the Network Time Protocol (NPT)) commands in the Command
Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
Command Parameters
config sntp
{primary <ipaddr> | secondary <ipaddr> | poll-interval <int 30-
99999>
}
show snt
p
enable snt
p
disable snt
p
confi
g
time
<date
ddmmm
yyyy
><time
hh:mm:ss
>
config
time-zone
{operator(1) [+ | -] | hour(2) <gmt_hour 0-13> | min(3) <minute 0-
59>
}
config dst
[disable | repeating {s-week<start_week 1-4,last> | s-wday
<start_weekday sun-sat>| s-mth <start_mth 1-12>| s-time
<start_time hh:mm> | e-week <end_week 1-4,last> | e-wday
<end_weekday 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
]}]}
show time
Each command is listed, in detail, in the following sections.
config sntp
Purpose Used to setup SNTP service.
Syntax
config sntp {primary <ipaddr> | secondary <ipaddr> | poll-
interval <int 30-99999>}
Description Use this command to configure SNTP service from an SNTP server.
SNTP must be enabled for this command to function (See enable
sntp).
Parameters
primary This is the primary server the SNTP information will be
taken from.
<ipaddr> The IP address of the primary server.
secondary This is the secondary server the SNTP information will
be taken from in the event the primary server is unavailable.
<ipaddr> The IP address for the secondary server.
poll-interval This is the interval between requests for updated
SNTP information.
<int 30-99999> The polling interval ranges from 30 to 99,999
seconds.