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.
The following example configures the NTP server in NTP version 3 mode, specifying a shortest polling interval of four seconds.
device# configure terminal device(config)# ntp 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
The following example configures the NTP server in NTP version 4 mode.
device# configure terminal device(config)# ntp device(config-ntp)# server 1.2.3.4 key 1234
device# configure terminal device(config)# ntp device(config-ntp)# server 1:2::3:4 key 1234
When no NTP servers are configured, the device uses ntp.ruckuswireless.com as a default internal NTP server. This default server does not appear in the output of the show running-config command.
The following example removes the default NTP server.
device# configure terminal device(config)# ntp device(config-ntp)# no server ntp.ruckuswireless.com
no
server ntp.ruckuswireless.com command, the change persists across
reloads. In earlier releases, the default server was re-added to the running
configuration after a device reload, even if it had been explicitly removed.