Time And Sntp Commands - D-Link xstack DGS-3612G Instruction Manual

Layer 3 gigabit ethernet managed switch
Hide thumbs Also See for xstack DGS-3612G:
Table of Contents

Advertisement

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.
config sntp
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To configure SNTP settings:
DGS-3612G:4#config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30
Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30
Success.
DGS-3612G:4#
xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
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]}]
Used to setup SNTP service.
config sntp {primary <ipaddr> | secondary <ipaddr> | poll-interval
<int 30-99999>}
Use this command to configure SNTP service from an SNTP server.
SNTP must be enabled for this command to function (See enable
sntp).
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.
poll-interval <int 30-99999> − This is the interval between requests for
updated SNTP information. The polling interval ranges from 30 to
99,999 seconds.
Only administrator-level users can issue this command. SNTP service
must be enabled for this command to function (enable sntp).
T
IME AND
195
27
SNTP C
OMMANDS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents