VRRP IDs

Because there is a hardware limitation of using only eight MAC addresses for VRRP, the number of VRIDs is also limited to eight. You can use any eight values for VRIDs between 1 and 255. However, once you choose the eight VRID values, you must reuse the same eight values across all VLANs on the device.

As VRRP virtual MAC for IPv4 and IPv6 for a same VRID is different, IPv4 and IPv6 VRRP instance with same VRID will consume 2 VRRP MAC entries. For example: if VRID 1 is used for IPv4 and IPv6 is used, virtual MAC for IPv4 and IPv6 are 00:00:5e:00:01:01 and 00:00:5e:00:02:01 respectively. These virtual MAC addresses use 2 VRRP MAC addresses in hardware.

Using the syntax for establishing the VRID and Virtual IP Address (ip vrrp address [VRRP ID] [VRRP Virtual IP Address]), the following example uses VRIDs from 2 through 9. This example shows only the relevant commands to illustrate this issue.

VSP8600:1(config-if)#ip vrrp address 2 2.1.1.10
VSP8600:1(config-if)#ip vrrp address 3 3.1.1.10 
VSP8600:1(config-if)#ip vrrp address 4 4.1.1.10 
VSP8600:1(config-if)#ip vrrp address 5 5.1.1.10 
VSP8600:1(config-if)#ip vrrp address 6 6.1.1.10 
VSP8600:1(config-if)#ip vrrp address 7 7.1.1.10 
VSP8600:1(config-if)#ip vrrp address 8 8.1.1.10 
VSP8600:1(config-if)#ip vrrp address 9 9.1.1.10 

At this point you have used all the VRIDs in the selected range (2–9). Now you must start reusing the VRIDs from 2 to 9 for all other VRRP enabled VLANs. The following example shows what happens when you do not reuse a VRID from the selected range.

VSP8600:1(config-if)#ip vrrp address 10 10.1.1.10

Error: maximum number of VRRP entries exceeded

The following example shows the correct reuse of one of the VRIDs from the selected range.

VSP8600:1(config-if)#ip vrrp address 2 10.1.1.10