
xStack
29
TIME AND SNTP COMMANDS
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 | Parameters | |
config sntp | {primary <ipaddr> secondary <ipaddr> | |
|
| |
show sntp |
| |
|
| |
enable sntp |
| |
|
| |
disable sntp |
| |
|
| |
config time | <date ddmthyyyy> <time hh:mm:ss> | |
|
| |
config time_zone | {operator [+ | |
|
| |
| [disable repeating {s_week <start_week | |
| ||
| e_week <end_week | |
config dst | <end_mth | |
120]} annual {s_date <start_date | ||
| ||
| s_time <start_time hh:mm> e_date <end_date | |
| <end_mth | |
| 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 |
Description | Use this command to configure SNTP service from a NTP 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. |
|
|
| requests for updated SNTP information. The polling interval |
| ranges from 30 to 99,999 seconds. |
Restrictions | Only |
| service must be enabled for this command to function (enable |
| sntp). |
|
|
Example usage:
251