CLI Reference Guide-R07

Table Of Contents
Chapter 4
| System Management Commands
Time
– 152 –
This command enables client time requests to time servers specified via the
ntp servers command. It issues time synchronization requests based on the
interval set via the ntp poll command.
Example
Console(config)#ntp client
Console(config)#
Related Commands
sntp client (147)
ntp server (152)
ntp server This command sets the IP addresses of the servers to which NTP time requests are
issued. Use the no form of the command to clear a specific time server or all servers
from the current list.
Syntax
ntp server ip-address [key key-number]
no ntp server [ip-address]
ip-address - IP address of an NTP time server.
key-number - The number of an authentication key to use in
communications with the server. (Range: 1-65535)
Default Setting
Version number: 3
Command Mode
Global Configuration
Command Usage
This command specifies time servers that the switch will poll for time updates
when set to NTP client mode. It issues time synchronization requests based on
the interval set with the ntp poll command. The client will poll all the time
servers configured, the responses received are filtered and compared to
determine the most reliable and accurate time update for the switch.
You can configure up to 50 NTP servers on the switch. Re-enter this command
for each server you want to configure.
NTP authentication is optional. If enabled with the ntp authenticate
command, you must also configure at least one key number using the ntp
authentication-key command.
Use the no form of this command without an argument to clear all configured
servers in the list.