Configuring QinQ termination
QinQ termination allows only packets that include specific VLAN tags to pass through the subinterface or VLAN interface. The following types of QinQ termination are available:
Ambiguous QinQ termination—Terminates QinQ packets whose outermost two layers of VLAN IDs are in the specified range.
When the subinterface or VLAN interface receives a packet, it removes the outermost two layers of VLAN tags of the packet.
When the subinterface or VLAN interface sends a packet, it tags the packet with the outermost two layers of VLAN IDs, which are determined as follows:
For a PPPoE packet, the outermost two layers of VLAN IDs are obtained by searching the PPPoE session entries.
For a DHCP relay packet, the outermost two layers of VLAN IDs are obtained by searching the DHCP relay entries.
For an IPv4 or MPLS packet, the outermost two layers of VLAN IDs are obtained by searching the ARP entries.
Unambiguous QinQ termination—Terminates QinQ packets whose outermost two layers of VLAN IDs match the specified values.
When the subinterface or VLAN interface receives a packet, it removes the two layers of VLAN tags of the packet.
When the subinterface or VLAN interface sends the packet, it tags the packet with two layers of VLAN tags as specified.