The qinq vrrp command enables a sub-interface for QinQ VLAN tag termination on a VRRP device to send VRRP packets to specified VLANs.
The undo qinq vrrp command restores the default setting.
By default, a sub-interface for QinQ VLAN tag termination sends VRRP packets carrying only the minimal inner VLAN ID and each VLAN ID in the outer tag.
Usage Scenario
If VRRP is enabled on a sub-interface for QinQ VLAN tag termination, VRRP packets need to be encapsulated with inner and outer VLAN tags before being transmitted between VLANs on VRRP devices. The qinq vrrp command enables the sub-interface for QinQ VLAN tag termination to add VLAN tags to VRRP packets or remove VLAN tags from VRRP packets.
Prerequisites
The control-vid and qinq termination commands have been run on the sub-interface for QinQ VLAN tag termination.
Precautions
If both VRRP and static ARP are configured on a sub-interface for dot1q or QinQ VLAN tag termination or a VLANIF interface, the VRRP virtual address and the IP address mapped to the static ARP entry must be different.
Otherwise, the device generates incorrect host routes, affecting traffic forwarding. The pe-vid and ce-vid parameters specified in the qinq vrrp command are configured using the qinq termination pe-vid ce-vid command.<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 100 ce-vid 200 [*HUAWEI-GigabitEthernet0/1/1.1] qinq vrrp pe-vid 100 ce-vid 200