The qinq termination pe-vid ce-vid any command enables a sub-interface to terminate double-tagged packets.
The undo qinq termination pe-vid ce-vid any command disables a sub-interface from terminating double-tagged packets.
By default, a sub-interface is disabled from terminating double-tagged packets.
Parameter | Description | Value |
---|---|---|
pe-vid |
Specifies the start VLAN ID in the outer VLAN tag. |
The value is an integer ranging from 1 to 4094. |
to high-pe-vid |
Specifies the end VLAN ID in the outer VLAN tag. If the command with pe-vid to high-pevid specified is run more than once, all configurations take effect. |
The value is an integer ranging from 1 to 4094. |
Usage Scenario
Prerequisites
QinQ termination has been configured on a sub-interface using the encapsulation qinq-termination command.
The encapsulation qinq-termination command is replaced by the control-vid qinq-termination command. When users need to communicate through an L2VPN, the qinq termination l2 sysmetry command must be run to configure a QinQ VLAN tag termination sub-interface to access the L2VPN in symmetric mode and then any must be specified in the qinq termination pe-vid ce-vid command to configure the sub-interface to ignore the VLAN ID in the inner tag.Configuration Impact
After the qinq termination pe-vid ce-vid command is run, the VLAN tag termination sub-interface processes packets in the following ways:
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/1.1 [*HUAWEI-GigabitEthernet0/1/1.1] control-vid 1 qinq-termination [*HUAWEI-GigabitEthernet0/1/1.1] qinq termination l2 symmetry [*HUAWEI-GigabitEthernet0/1/1.1] qinq termination pe-vid 1000 ce-vid any