DES-1210-28/ME Metro Ethernet Managed Switch CLI Reference Guide
228
34
3434
34
TIME AND SNTP COMMANDS
The Time and SNTP commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
config sntp
{primary <ipaddr> | secondary <ipaddr> | poll-interval <sec 30-99999>}
show sntp
enable sntp
disable sntp
config time
<date> <systime>
config time_zone
operator
[+ hour <gmt_hour 0-13> minute <minute 0-59> | - hour <gmt_hour 0-12> minute
<minute 0-59>]
config dst
[disable | [annual s_date <start_date 1-31> s_mth <start_mth 1-12> s_time
<start_time> end_date <int 1-31> e_mth <end_mth 1-12> e_time <end_time> |
offset [30 | 60 | 90 | 120]]]
show time
Each command is listed in detail, as follows:
config sntp
Purpose To setup SNTP service.
Syntax
config sntp {primary <ipaddr> | secondary <ipaddr> | poll-
interval <sec 30-99999>}
Description
The config sntp command configures SNTP service from an SNTP
server. SNTP must be enabled for this command to function (See
enable sntp).
Parameters
primary <ipaddr> – Specifies the IP address of the primary SNTP
server.
secondary <ipaddr> – Specifies the IP address of the secondary
SNTP server.
poll-interval <sec 30-99999> – The interval between requests for
updated SNTP information. The polling interval ranges from 60
seconds (1 minute) to 86,400 seconds (1 day).
Restrictions Only administrator or operate-level users can issue this command.
SNTP service must be enabled for this command to function (enable
sntp).
Example usage:
To configure SNTP settings: