Clock Commands
241
OL-32830-01 Command Line Interface Reference Guide
9
User Guidelines
This command enables the SNTP Broadcast and Anycast client on an interface.
Use the no form of this command to disable the SNTP client.
Example
The following example enables the SNTP broadcast and anycast client on an
interface.
switchxxxxxx(config)#
interface vlan 100
switchxxxxxx(config-if)#
sntp client enable
switchxxxxxx(config-if)#
exit
9.14
sntp server
To configure the device to use the SNTP to request and accept Network Time
Protocol (NTP) traffic from a specified server (meaning to accept system time from
an SNTP server), use the sntp server command in Global Configuration mode. To
remove a server from the list of SNTP servers, use the no form of this command.
Syntax
sntp server {
ip-address
|
hostname
} [poll] [key
keyid
]
no sntp server [
ip-address
|
hostname
]
Parameters
•
ip-address
—Specifies the server IP address. This can be an IPv4, IPv6 or
IPv6z address.
•
hostname
—Specifies the server hostname. Only translation to IPv4
addresses is supported. (Length: 1–158 characters. Maximum label length
for each part of the hostname: 63 characters)
•
poll—(Optional) Enables polling.
•
key
keyid
—(Optional) Specifies the Authentication key to use when sending
packets to this peer. (Range:1–4294967295)
Default Configuration
No servers are defined.
Summary of Contents for 300 Series
Page 2: ......