Perform the following operations on PEs based on the required Layer 2 protocol tunneling mode.
The l2protocol-tunnel vlan and l2protocol-tunnel commands cannot specify the same protocol type on the same interface. Otherwise, the configurations conflict.
The system view is displayed.
The user-side interface view is displayed.
The link type of the interface is set to hybrid.
The interface is added to specified VLANs in untagged mode.
VLAN translation is enabled on the interface.
The interface is configured to add an outer VLAN tag to Layer 2 protocol packets.
QinQ-based Layer 2 protocol tunneling is enabled on the interface.
The outer VLAN tag (vlan-id3) specified in the port vlan-stacking command must be included in the VLAN range specified in the port hybrid untagged vlancommand.