Table 1 describes the QinQ configuration tasks.
Scenario |
Description | Task |
---|---|---|
Configure basic QinQ |
After basic QinQ is configured, the switch adds a public tag to incoming packets so that user packets can be forwarded on the public network. |
|
Configure selective QinQ |
Selective QinQ based on VLAN IDs enables the switch to add different outer VLAN tags to received data frames according to VLAN IDs in the frames. |
|
Set the TPID value in an outer VLAN tag |
This configuration allows a Huawei device to communicate with a non-Huawei device. |
|
Configure QinQ stacking on a VLANIF interface |
To log in to a remote device and manage the device, you can configure QinQ stacking on the VLANIF interface corresponding to the management VLAN of the remote device. |
|
Configure the device to add double VLAN tags to untagged packets |
The device can be configured to add double VLAN tags to untagged packets. |
Configuring the Switch to Add Double VLAN Tags to Untagged Packets |
Configure QinQ mapping |
QinQ mapping maps C-VLAN tags to S-VLAN tags to shield different C-VLAN tags. |