xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
258
DGS-3324SRi: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-3324SRi:4#
show sntp
Purpose
Used to display the SNTP information.
Syntax
show sntp
Description
This command will display SNTP settings information including the
source IP address, time and poll interval.
Parameters None.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To display SNTP configuration information:
DGS-3324SRi:4#show sntp
Command: show sntp
Current Time Source : System Clock
SNTP : Disabled
SNTP Primary Server : 10.1.1.1
SNTP Secondary Server : 10.1.1.2
SNTP Poll Interval : 720 sec
DGS-3324SRi:4#
config time
Purpose
Used to manually configure system time and date settings.
Syntax
config time date <date ddmthyyyy> <time hh:mm:ss>
Description
This will configure the system time and date settings. These will
be overridden if SNTP is configured and enabled.
Parameters
date
– Express the date using two numerical characters for the
day of the month, three alphabetical characters for the name of
the month, and four numerical characters for the year. For
example: 03aug2003.
time
– Express the system time using the format hh:mm:ss, that is,
two numerical characters each for the hour using a 24-hour clock,
the minute and second. For example: 19:42:30.
Restrictions Only
administrator-level
users can issue this command. Manually
configured system time and date settings are overridden if SNTP
support is enabled.
Example usage: