9
251
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
sntp server {default | {{
ip-address
no sntp server [
Parameters
•
default—Default defined SNTP servers.
•
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
The following servers with polling and without authentication are defined:
•
time-a.timefreq.bldrdoc.gov
interface vlan 100
sntp client enable
exit
ip-address
hostname
|
hostname
|
]
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
keyid
} [poll] [key
]}}
Clock Commands