DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
646
Chapter 69
Time and SNTP
Commands
config sntp
{primary <ipaddr> | secondary <ipaddr> | poll-interval <int 30-99999>} (1)
show sntp
enable sntp
disable sntp
config time
<date ddmthyyyy> <time hh:mm:ss>
config time
_
zone
{operator [+ | -] | hour <gmt_hour 0-13> | min <minute 0-59>} (3)
config dst
[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]}]
show time
69-1
config sntp
Description
This command is used to change SNTP configurations.
Format
config sntp {primary <ipaddr> | secondary <ipaddr> | poll-interval <int 30-99999>} (1)
Parameters
primary
- (Optional) Specifies the SNTP primary server IP address.
<ipaddr>
- Specifies the SNTP primary server IP address.
secondary
- (Optional) Specifies the SNTP secondary server IP address.
<ipaddr>
- Specifies the SNTP secondary server IP address.
poll-interval
- (Optional) Specifies the polling interval range.
<int 30-99999>
- Specifies the polling interval range between 30 and 99999 seconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure SNTP: