configure ntp server/peer add

configure ntp [server | peer] add [ip_address | ipv6_address | host_name] {version [3 | 4]} {minpoll min_poll} {maxpoll max_poll} {key keyid} {option [burst | initial-burst]} {{vr} vr_name}

Description

Configures an NTP server or peer.

Syntax Description

ip_address Specifies the IP address of the NTP server or peer.
ipv6_address Specifies the IPv6 address of the NTP server or peer.
host_name Specifies the host name of the NTP server or peer.
versionSpecifies NTP version.
3Specifies NTP version 3 (Default).
4NTP version 4. Recommended when SHA256 key configured when using certain NTP server software, for example, chrony.
minpollMinimum interval between requests sent to the server or peer.
min_pollMinimum poll interval as a power of 2 in seconds. Range is 3 to 17. Default 6 (64 seconds).
maxpollMaximum interval between requests sent to the server or peer.
max_pollMaximum poll interval as a power of 2 in seconds. Range is 3 to 17. Default 10 (1,024 seconds).
keyid Specifies the key ID as a value from 1 to 65,534.
burst Follows the same burst mechanism when an NTP server is reachable.
initial-burst Allows the system to send six burst packets when an NTP server becomes unreachable (discovered but unreachable).
vrSpecifies VR.
vr_nameSpecifies the VR name. If no VR name is specified, the current command context is used.

Default

If no VR name is specified, the current command context is used.

Usage Guidelines

The initial-burst option is useful when a fast time synchronization is required at the initial stage.

Example

The following command adds an NTP server named “Missouri” with key 5 and an initial burst:

configure ntp server add Missouri key 5 initial-burst

Example

The following command adds an NTP server named 1000::1:

configure ntp server add 1000::1 vr VR-Default
The following command adds an NTP server version 3:
# configure ntp server add 1.1.1.1 version 3 key 200 vr VR-Mgmt

History

This command was first available in ExtremeXOS 12.7.

The vr keyword was added in ExtremeXOS 22.2.

The ipv6_address option was added in ExtremeXOS 32.6.

The maxpoll, minpoll, and version keywords and options were added in version 33.6.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, and X695 series switches.