Whether CE switches support selective QinQ


All models of CE switches support selective QinQ since V100R003C00.

Other related questions:
Does the switch support QinQ
The S2700EI supports only basic QinQ configured using the port link-type dot1q-tunnel command, and does not support selective QinQ configured using the port vlan-stacking vlan command. The S2700SI does not support basic QinQ or selective QinQ. Other models support both basic QinQ and selective QinQ.

What are QinQ and selective QinQ
Switch QinQ is also called port QinQ or Dot1q-tunnel. The port adds the default VLAN tag to packets no matter whether the packets carry VLAN tags. Selective QinQ indicates VLAN stacking. Different from port QinQ, selective QinQ encapsulates outer VLAN tags according to different VLANs.

How can I configure selective QinQ on CE switches
Selective QinQ is also called VLAN stacking. It adds different outer tags to the frames received on a Layer 2 QinQ interface according to different inner tags or the frames matching traffic classification rules. This function enables refined management of users and services. # Configure selective QinQ on 10GE1/0/1 and add VLAN 100 in the outer tag to the tagged frames with the VLAN range of 10 to 13. 
[~HUAWEI] vlan batch 10 to 13 100
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] port hybrid untagged vlan 100 [*HUAWEI-10GE1/0/1] port vlan-stacking vlan 10 to 13 stack-vlan 100
[*HUAWEI-10GE1/0/1] commit
Description: - Selective QinQ can be enabled only on hybrid and trunk interfaces and applied to incoming packets. - The outer VLAN ID must exist and the interface must be added to the stack VLAN in untagged mode. - If the port vlan-stacking command with VLAN ranges specified has been executed for three or more times and VLAN ranges are combined twice at least, the configuration of each command must be committed. Otherwise, packets may be lost. For example, when port vlan-stacking vlan 30 to 60 stack-vlan 100, port vlan-stacking vlan 20 to 30 stack-vlan 100, and port vlan-stacking vlan 60 to 70 stack-vlan 100 commands are executed, VLAN ranges 20 to 60 and 20 to 70 are combined twice. Therefore, commit each command configuration.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top