configure vrrp vlan vrid add ipaddress

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

Description

Associates a virtual IP address with a specific VRRP instance.

Syntax Description

vlan_name

Specifies the name of a VRRP VLAN.

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.

Default

N/A.

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.

Note

Note

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.

Example

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

configure vrrp vlan vlan-1 vrid 1 add 10.1.2.3

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

History

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 32.2 Feature License Requirements document.