Configuring ambiguous QinQ termination
When you configure ambiguous QinQ termination, follow these restrictions and guidelines:
If you specify the same Layer 1 VLAN ID for multiple subinterfaces under a main interface, the Layer 2 VLAN IDs specified for them must be different. However, if you specify different Layer 1 VLAN IDs for the subinterfaces, the Layer 2 VLAN IDs specified for the subinterfaces are not required to be different.
Subinterfaces under different main interfaces can terminate VLAN-tagged packets with the same Layer 1 and Layer 2 VLAN IDs.
When you use the vlan-type dot1q vid second-dot1q command to configure ambiguous QinQ termination multiple times, one of the following conditions occurs:
If the most recently specified Layer 1 ID is the same as the current Layer 1 ID, the specified Layer 2 IDs in both configurations take effect.
If the most recently specified Layer 1 ID is different from the current Layer 1 ID, you must first delete the old configuration.
To configure ambiguous QinQ termination:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. |
| N/A |
3. Configure ambiguous QinQ termination by specifying the outermost two layers of VLAN IDs. | vlan-type dot1q vid vlan-id-list second-dot1q { vlan-id-list | any } [ loose ] | By default, QinQ termination is disabled on a subinterface. |