In addition to system-configured standards-based virtual MAC addresses, you can manually configure a unique virtual MAC address for each IPv4 and IPv6 VRRP or VRRP-E instance per virtual routing ID (VRID). If there is no manually configured virtual MAC address (VMAC) for a VRRP instance, the system automatically assigns one.
On SLX-OS devices, you can configure a maximum of 13 virtual router MAC addresses per device; this includes both IPv4 VRRP-E & IPv6 VRRP-E sessions.
Note
System-assigned virtual MAC addresses and manually configured virtual MAC addresses can exist at the same time on the device under the same VRID, however the configured value takes precedence. When the configured value is deleted, the assigned value again applies.Note
A virtual MAC address can be dynamically updated while a VRRP or VRRP-E session is enabled. When the VRRP or VRRP-E virtual MAC address is modified on the master device, expect a traffic drop until the host device receives the GARP request or Router Advertisement (RA) containing the updated virtual MAC address from the master VRRP device.To configure a unique VRRP or VRRP-E virtual MAC address for a VRID, complete the following steps.
device# configure terminal
device(config)# protocol vrrp-extended
device(config)# interface ve 10
device(config-if-Ve-10)# ip address 10.53.5.3/24
device(config-if-Ve-10)# vrrp-extended-group 12
Note
You can assign a VRID number in the range of 1 through 13. This example assigns the device to VRIP group 12.device(config-vrrp-extended-group-12)# virtual-mac 02e0.5200.0012
Note
System-assigned virtual MAC addresses and manually configured virtual MAC addresses can exist at the same time on the device under the same VRID, however the configured value takes precedence. When the configured value is deleted, the assigned value again applies.device# show vrrp detail Total number of VRRP session(s) : 1 VRID 12 Interface: Ve 10; Ifindex: 1207959562 Mode: VRRPE Admin Status: Enabled Description : Address family: IPv4 Version: 2 Authentication type: MD5 Authentication State: Initialize Session Master IP Address: Virtual IP(s): 192.168.4.100 Virtual MAC Address: 02e0.5200.0112 . . .
The following example configures an IPv4 virtual MAC address for VRID 12 on a VRRP-E device.
device# configure terminal device(config)# protocol vrrp-extended device(config)# interface ve 10 device(config-if-Ve-10)# ip address 10.53.5.3/24 device(config-if-Ve-10)# vrrp-extended-group 12 device(config-vrrp-extended-group-12)# virtual-mac 02e0.5200.0012