Perform the following operations on PEs according to the type of Layer 2 protocol packets to be transparently transmitted.
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 the specified VLANs in tagged mode.
The range of VLAN IDs specified in this step must include VLAN IDs of Layer 2 protocol packets from user networks.
The VLAN for VLAN-based Layer 2 protocol tunneling must be the static VLAN, and cannot be the VLAN dynamically created by GVRP and VCMP.
VLAN-based Layer 2 protocol tunneling is enabled on the interface.