How many VRRP groups are supported per box, and what is the maximum number of VIPs permitted per VRRP group?
Versa FlexVNF supports 255 groups under one logical interface (unit or VLAN interface). The permitted group-id range is 1 through 255. There is a limitation defined by the hardware (some hardware NICs have a limitation of 32 MAC addresses). VMAC is derived from the group-id. As each group with different group-id will install a different MAC, it is recommended that you use the same group-id on different sub-interfaces of a parent interface. For example, if there are two VLAN interfaces vni-0/1.100 and vni-0/1.200, all the groups under these interfaces will install MAC address on one physical NIC vni-0/1. Therefore, if the requirement is to have 20 groups on each sub-interface, group-id 1 through 20 can be used for both vni-0/1.100 and vni-0/1.200.
Each VRRP group can have a maximum of 10 virtual addresses, and the virtual address cannot be same in two different groups.
To know how many secondary MAC addresses the network hardware supports, run the command show vsm interface detail hw mac-table <port-id> in the debug mode CLI (vsh connect vsmd). <port-id> is -1 for all ports and 0 is usually assigned to vni-0/0 and so on.
For example:
vsm-vcsn0> show vsm interfaces detail hw mac-table 6
The output is:
Port [6]:
Slot Driver Hardware
---- ----------------- -----------------
0 52:54:00:FC:B7:78 52:54:00:FC:B7:78
1 00:00:00:00:00:00 00:00:00:00:00:00
2 00:00:00:00:00:00 00:00:00:00:00:00
3 00:00:00:00:00:00 00:00:00:00:00:00
4 00:00:00:00:00:00 00:00:00:00:00:00
5 00:00:00:00:00:00 00:00:00:00:00:00
6 00:00:00:00:00:00 00:00:00:00:00:00
7 00:00:00:00:00:00 00:00:00:00:00:00
8 00:00:00:00:00:00 00:00:00:00:00:00
9 00:00:00:00:00:00 00:00:00:00:00:00
10 00:00:00:00:00:00 00:00:00:00:00:00
11 00:00:00:00:00:00 00:00:00:00:00:00
12 00:00:00:00:00:00 00:00:00:00:00:00
13 00:00:00:00:00:00 00:00:00:00:00:00
14 00:00:00:00:00:00 00:00:00:00:00:00
The output indicates that the VM supports 15 MAC addresses. The first MAC is reserved for the manufacturer hardware MAC.
NOTE: If an Aggregated Ethernet (AE) interface is configured, the AE will also require one secondary MAC in the table. Therefore, for VRRP on an AE interface group-ids are limited to n – 2 (n is the numbers of MACs supported) on that port.