server (NTP)

Configures the device in client mode and specifies the Network Time Protocol (NTP) servers to synchronize the system clock.
Syntax
server { domain-name | ipv4-address | ipv6-address } [ burst ] [ key key-id ][ maxpoll interval ] [ minpoll interval ] [ version version-number ]
no server { domain-name | ipv4-address | ipv6-address } [ burst ] [ key key-id ][ maxpoll interval ] [ minpoll interval ] [ version version-number ]
Parameters
domain-name
Specifies a domain name.
ipv4-address
Specifies the IPv4 address of the server that provides the clock synchronization.
ipv6-address
Specifies the IPv6 address of the server that provides the clock synchronization.
burst
Sends a burst of packets to the server at each polling interval.
key key-id
Specifies the authentication key range. Valid values range from 1 through 65535.
maxpoll interval
Specifies the longest polling interval. Valid values range from 4 through 17. The default is 10. The interval argument is a power of 2 (4=16, 5=32, 6=64, 7=128, 8=256, 9=512, and so on).
minpoll interval
Specifies the shortest polling interval. Valid values range from 4 through 17. The default is 6. The interval argument is a power of 2 (4=16, 5=32, 6=64, 7=128, 8=256, 9=512, and so on).
version version-number
Specifies the NTP version number. Valid values are 3 and 4. The default value is 4.
Modes

NTP configuration mode

Usage Guidelines

A maximum of eight NTP servers can be configured.

The no form of the command removes the NTP server configuration.

By default, the device configures the RUCKUS NTP server (ntp.ruckuswireless.com) as a fallback time source. Beginning with FastIron release 10.0.10h05, if the default server is removed using the no server ntp.ruckuswireless.com command, it is not re-added after a reload.

Examples

The following example configures the NTP server.

device# configure terminal
device(config)# ntp
device(config-ntp)# server 10.1.1.1 key 23 maxpoll 15 minpoll 8 version 3 burst

When no NTP servers are configured, the device automatically adds the default NTP server (ntp.ruckuswireless.com) after a reload. The following example removes the default NTP server so that it is not re-added after a reload.

device# configure terminal
device(config)# ntp
device(config-ntp)# no server ntp.ruckuswireless.com
History
Release version Command history
10.0.10h05 Removing the default NTP server using the no server ntp.ruckuswireless.com command persists across device reloads. The default NTP server is automatically added after a reload unless it has been removed.