The qinq stacking vid command enables QinQ stacking on an Ethernet sub-interface. The interface enabled with QinQ stacking adds a VLAN tag to the outer VLAN tag of a received packet.
The undo qinq stacking vid command disables QinQ stacking on an Ethernet sub-interface.
By default, QinQ stacking is not enabled on an Ethernet sub-interface.
Parameter | Description | Value |
---|---|---|
low-ce-vid |
Specifies a start VLAN ID in an inner tag. |
The value is an integer ranging from 1 to 4094. |
high-ce-vid |
Specifies an end VLAN ID in an inner tag. The high-ce-vid value must be greater than the low-ce-vid value.If the low-ce-vid [ to high-ce-vid ] parameters are run more than once, all configurations take effect. |
The value is an integer ranging from 1 to 4094. |
vlan-group group-id |
Specifies ID of the VLAN group to which users belong.Statistics about QinQ packets are collected based on VLAN groups. To collect QinQ packet statistics, specify vlan-group in the qinq stacking vid command. |
The value is an integer ranging from 1 to 16. |
Usage Scenario
One physical interface cannot provide L2VPN access to multiple users. To address this problem, you can run the qinq stacking vid command to configure a QinQ stacking sub-interface and bind it to a VSI or L2VC to provide L2VPN access to multiple users.
Prerequisites
Before running the qinq stacking vid command in the VE sub-interface view or global VE sub-interface view, the interface on which the sub-interface is to be created has been bound to a VE-Group.
Configuration Impact
After you enable QinQ stacking on an Ethernet sub-interface:
Precautions
If you run the qinq stacking vid command on Ethernet sub-interfaces on an interface, specify different ce-vid values on the sub-interfaces.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/1.1 [*HUAWEI-GigabitEthernet0/1/1.1] vlan-group 1 [*HUAWEI-GigabitEthernet0/1/1.1-vlan-group 1] commit [*HUAWEI-GigabitEthernet0/1/1.1-vlan-group 1] quit [*HUAWEI-GigabitEthernet0/1/1.1] qinq stacking vid 100 to 200 vlan-group 1