Users Guide

Switch Management Commands 1928
sntp server
Use the sntp server command in Global Configuration mode to configure an
SNTP server address or a host name. The server address can be either an IPv4
address or an IPv6 address. Use the no form of this command to unconfigure
an SNTP server address or a host name.
Syntax
sntp server {ip-address | ipv6-address | hostname} [priority priority][key
key_id][poll]
no sntp server {ip-address | ipv6-address | hostname}
ip-address — IP address of the server.
hostname — Hostname of the server. (Range: 1-256 characters)
priority—The relative priority of the SNTP server (Range 1-8).
poll—Enable SNTP server polling.
key_id—The index of the authentication key to send to the SNTP server
(Range 1-4294967295).
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
The SNTP authentication parameter is an MD5 checksum sent to the NTP
server. The key index identified in the sntp server command should be
configured with the sntp authentication-key command.
The hostname parameter may be a fully or partially qualified domain name. A
hostname consists of a series of labels separated by periods. Each label may be
a maximum of 63 characters in length. A maximum length of the hostname
parameter is 256 characters. Refer to RFC 1035 Section 2.3.1 for more
information.