configure vrrp vlan vrid add ipaddress

configure vrrp vlan [vlan_name | vlan_id] vrid vridval add ipaddress


Associates a virtual IP address with a specific VRRP instance.

Syntax Description


Specifies the name of a VRRP This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches..

vlan_id VLAN ID tag (1–4,094).
vridval Specifies the VRID of a VRRP instance. To display the configured VRRP router instances, enter the show vrrp command.
ipaddress Specifies a virtual IPv4 or IPv6 address to be assigned to the VRRP instance.



Usage Guidelines

Each VRRP instance is identified by an ID number, VLAN name, and virtual IP address. When two or more routers are configured with the same VRRP ID number, VLAN name, and virtual IP address, the routers with matching parameters are all part of the same VRRP instance. One router within the instance will become the VRRP instance master, and the others will become backup routers for the VRRP instance.

Most routers within a VRRP instance will have a virtual IP address that is different from the actual IP addresses configured on the router. If the virtual IP address for a VRRP instance matches an IP address configured on a host router, the VRRP instance is known as the IP address owner. On the IP address owner, the VRRP instance priority defaults to 255, and by default, the IP address owner becomes the VRRP master when VRRP is enabled.



There is no requirement to configure an IP address owner within a VRRP instance.

Before each VRRP router is enabled, it must be configured with at least one virtual IPv4 or IPv6 address. You can repeat this command to add additional virtual IP addresses to the VRRP router. If a virtual IPv4 address is added to a VRRP router, you cannot later add a virtual IPv6 address. Similarly, if a virtual IPv6 address is added to a VRRP router, you cannot later add a virtual IPv4 address.

Each IPv6 VRRP instance is associated with one and only one virtual link local address, which serves as the source IP address for subsequent router announcement packets generated by the master VRRP router. The virtual link local address can be explicitly configured or generated automatically. One way to explicitly configure the virtual link local address is to add it to the virtual IP address list with this command.


The following example associates virtual IPv4 address to VRRP router instance 1:

configure vrrp vlan vlan-1 vrid 1 add

The following example associates virtual IPv6 address 2001:db8::3452 to VRRP router instance 2:

configure vrrp vlan vlan-1 vrid 2 add 2001:db8::3452


This command was first available in ExtremeXOS 10.1.

Support for IPv6 addresses was added in ExtremeXOS 12.7.

The vlan_id option was added in ExtremeXOS 22.3.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the VRRP feature, see the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.