configure sntp-client

configure sntp-client [primary | secondary] host-name-or-ip {vr vr_name}


Configures an NTP server for the switch to obtain time information.

Syntax Description

primary Specifies a primary server name.
secondary Specifies a secondary server name.
host-name-or-ip Specifies a host name or IPv4 address or IPv6 address.
vr Specifies use of a virtual router.NOTE: User-created VRs are supported only on the platforms listed for this feature in the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.
vr_name Specifies the name of a virtual router.



Usage Guidelines

Queries are first sent to the primary server. If the primary server does not respond within 1 second, or if it is not synchronized, the switch queries the second server. If the switch cannot obtain the time, it restarts the query process. Otherwise, the switch waits for the sntp-client update interval before querying again.


The following example configures a primary NTP server:

configure sntp-client primary

The following example configures the primary NTP server to use the management virtual router VR-Mgmt:

configure sntp-client primary vr VR-Mgmt


This command was first available in ExtremeXOS 10.1.

The vr vr_name option was added in ExtremeXOS 11.0.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5420, and 5520 series switches.