2-to-1 QinQ mapping is configured on a sub-interface to map an outer VLAN tag in a received double-tagged packet to a specified VLAN tag and leave the inner VLAN tag intact.
The system view is displayed.
The interface view is displayed.
The port link-type is set.
The system view is displayed.
The view of the CE-side Ethernet or Eth-Trunk sub-interface of the PE is displayed.
The sub-interface is configured to map the outer VLAN tag of double-tagged packets to a specified VLAN tag.
The original outer VLAN ID of double-tagged packets specified in the command must be different from outer VLAN IDs specified on all the other sub-interfaces.
QinQ mapping cannot be used with stacking, QinQ termination, or Dot1q termination commands on the same sub-interface.
If the PW-side routing interface is a Layer 3 interface switched by the undo portswitch command, the AC-side interface cannot be a Layer 3 routing interface or its sub-interface belonging to a Layer 3 interface; otherwise, traffic fails to be forwarded. This rule applies to S5710-EI, S5720-EI, S6720-EI, and S6720S-EI.