9
241
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)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
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
ip-address
sntp server {
ip-address
no sntp server [
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.
•
keyid
key
—(Optional) Specifies the Authentication key to use when sending
packets to this peer. (Range:1–4294967295)
Default Configuration
No servers are defined.
interface vlan 100
sntp client enable
exit
hostname
|
} [poll] [key
hostname
|
]
OL-32830-01 Command Line Interface Reference Guide
Clock Commands
keyid
]