Configures an NTP server for the switch to obtain time information.
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 32.1 Feature License Requirements document. |
vr_name | Specifies the name of a virtual router. |
N/A.
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 10.1.2.2
The following example configures the primary NTP server to use the management virtual router VR-Mgmt:
configure sntp-client primary 10.1.2.2 vr VR-Mgmt
This command was first available in ExtremeXOS 10.1.
The vr vr_name option was added in ExtremeXOS 11.0.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.