Sntp configuration commands, Sntp example – Extreme Networks Summit 300-48 User Manual

Page 54

Advertising
background image

54

Summit 300-48 Switch Software User Guide

Managing the Switch

SNTP Configuration Commands

Table 14 describes SNTP configuration commands.

SNTP Example

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 14: 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.

Advertising