Configuring the NTP Client
To configure the device in client mode and
specify the NTP servers to synchronize the system clock, use the
server command. A maximum of eight NTP servers can be
configured. To remove the NTP server configuration, use the no form of the command.
By default, no servers are configured.
The following example configures the NTP server in NTP version 3 mode.
device(config-ntp)# server 1.2.3.4 version 3 key 1234 minpoll 4
device(config-ntp)# server 1:2::3:4 version 3 key 1234 minpoll 4
Syntax:
server
{
ipv4_address
|
ipv6_address
version 3
key
key_id
minpoll
interval
}
The minpoll interval specifies the shortest polling interval (in seconds).
The following example configures the NTP server in NTP version 4 mode.
device(config-ntp)# server 1.2.3.4 key 1234
device(config-ntp)# server 1:2::3:4 key 1234