User guide
E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
3-25
U
SING
THE
S
IMPLE
N
ETWORK
T
IME
P
ROTOCOL
SNTP C
ONFIGURATION
C
OMMANDS
Tab le 3-5 describes SNTP configuration commands.
SNTP E
XAMPLE
In this example, the switch queries a specific NTP server and a backup NTP server. The
switch is located in Cupertino, CA, and an update occurs every 20 minutes. The
commands to configure the switch are as follows:
config timezone -480 autodst
config sntp-client update interval 1200
enable sntp-client
config sntp-client primary server 10.0.1.1
config sntp-client secondary server 10.0.1.2
Table 3- 5: SNTP Configuration Commands
Command Description
config sntp-client [primary | secondary] server
[<ipaddress> | <host_name>]
Configures an NTP server for the switch to
obtain time information. Queries are first
sent to the primary server. If the primary
server does not respond within 1 second,
or if it is not synchronized, the switch
queries the second server.
config sntp-client update-interval <seconds> Configures the interval between polling for
time information from SNTP servers. The
default setting is 64 seconds.
disable sntp-client Disables SNTP client functions.
enable sntp-client Enables Simple Network Time Protocol
(SNTP) client functions.
show sntp-client Displays configuration and statistics for the
SNTP client.