The vrrp arp send-mode simple command enables a sub-interface for QinQ VLAN tag termination to send double-tagged gratuitous ARP packets carrying only the minimal inner VLAN ID when the VRRP status of the sub-interface in the VRRP group is Master.
The undo vrrp arp send-mode simple command enables a sub-interface for QinQ VLAN tag termination to send as many gratuitous ARP packets as there are VLAN IDs in the inner tag after the sub-interface becomes the master in a VRRP group.
By default, gratuitous ARP packets are sent as many as there are VLAN IDs in the inner tag.
Usage Scenario
Users attached to a UPE are connected to NPEs. VRRP is configured on a sub-interface for QinQ VLAN tag termination of each NPE. The master device sends gratuitous ARP packets to all VLAN users. After VLAN users on the UPE learn the virtual MAC address, they send packets through the master device. To minimize the burden of many gratuitous ARP packets on the device, the vrrp arp send-mode simple command can be run on the sub-interface for QinQ VLAN tag termination to enable the master device to send gratuitous ARP packets only with the first VLAN ID specified in the inner tag and each VLAN ID in the outer tag.
Prerequisites
A VRRP group has been configured using the vrrp vrid virtual-ip command on the sub-interface for QinQ VLAN tag termination.
Configuration Impact
The vrrp arp send-mode simple command takes effect within VLANs specified only by VLAN IDs in the inner tag, but not by VLAN IDs in the outer tag. For example, VLAN IDs in the outer tag range from 1 to 10, and VLAN IDs in the inner tag range from 1 to 10. After the vrrp arp send-mode simple command is run, gratuitous ARP packets carry only VLAN 1 in the inner tag. A total of 10 gratuitous ARP packets (10 outer VLAN IDs x 1 inner VLAN ID) are sent.
Precautions
The vrrp arp send-mode simple command is run only on a sub-interface for QinQ VLAN tag termination.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1.1 [~HUAWEI-GigabitEthernet0/1/1.1] control-vid 1 qinq-termination [*HUAWEI-GigabitEthernet0/1/1.1] qinq termination pe-vid 2 ce-vid 1 to 20 [*HUAWEI-GigabitEthernet0/1/1.1] qinq vrrp pe-vid 2 ce-vid 1 [*HUAWEI-GigabitEthernet0/1/1.1] vrrp vrid 1 virtual-ip 10.1.1.1 [*HUAWEI-GigabitEthernet0/1/1.1] vrrp arp send-mode simple