User`s guide
115
20
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 <int 60-86400>}
show sntp
enable sntp
disable sntp
config time date <date ddmthyyyy> <time hh:mm:ss>
config time_zone
{operator [+ hour <gmt_hour 0-13> min <minute 0-59> | - hour <gmt_hour 0-12>
min <minute 0-59>]}
config dst
[disable | repeating {week day month hh:mm week day month hh:mm | offset [30
| 60 | 90 | 120]} | annual {date month hh:mm date month hh:mm | 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 <int 60-86400>}
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 <int 60-86400> – 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-level users can issue this command. SNTP
service must be enabled for this command to function (enable sntp).
Example usage:
To configure SNTP settings: