xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
The Simple Network Time Protocol (SNTP) {an adaptation of the Network Time Protocol (NTP)} commands in the Command
Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
Command
config sntp
show sntp
enable sntp
disable sntp
config time
config time_zone
config dst
show time
Each command is listed, in detail, in the following sections.
enable sntp
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To enable the SNTP function:
DGS-3324SRi:4#enable sntp
Command: enable sntp
Success.
DGS-3324SRi:4#
Parameters
{primary <ipaddr> | secondary <ipaddr> | poll-interval <int 30-99999>}
<date ddmthyyyy> <time hh:mm:ss>
{operator [+ | -] | hour <gmt_hour 0-13> | min <minute 0-59>}
[disable | repeating {s_week <start_week 1-4,last> | s_day <start_day
sun-sat>| s_mth <start_mth 1-12> | s_time <start_time hh:mm> |
e_week <end_week 1-4,last> | e-day <end_day 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]}]
Enables SNTP server support.
enable sntp
This will enable SNTP support. SNTP service must be separately
configured (see config sntp). Enabling and configuring SNTP
support will override any manually configured system time
settings.
None.
Only administrator-level users can issue this command. SNTP
settings must be configured for SNTP to function (config sntp).
260
T
SNTP C
IME AND
29
OMMANDS