160 CHAPTER 10: CLOCK COMMANDS
Syntax
sntp server {ip-address | hostname}[poll] [key keyid]
no sntp server host
Parameters
■ ip-address — IP address of the server.
■ hostname — Hostname of the server. (Range: 1-158 characters)
■ poll — Enable polling.
■ keyid — Authentication key to use when sending packets to this peer.
(Range:1-4294967295)
Default Configuration
No servers are defined.
Command Mode
Global Configuration mode
User Guidelines
Up to 8 SNTP servers can be defined.
Use the sntp unicast client enable Global Configuration mode
command to enable predefined unicast clients globally.
To enable polling you should also use the sntp unicast client poll Global
Configuration mode command for global enabling.
Polling time is determined by the sntp client poll timer Global
Configuration mode command.
Example
The following example configures the device to accept SNTP traffic from
the server on 192.1.1.1.
show clock The show clock Privileged EXEC mode command displays the time and
date from the system clock.
Console(config)#
sntp server
192.1.1.1