If you want backbone network devices to transparently transmit Layer 2 PDUs from user networks, enable Layer 2 protocol tunneling on the device interfaces.
The system view is displayed.
The user-side interface view is displayed.
Layer 2 protocol tunneling is enabled on the interface.
If you do not want PDUs of some Layer 2 protocols to traverse a backbone network, run the l2protocol-tunnel { all | protocol } drop command to enable the interface to discard Layer 2 PDUs. This implementation allows the interface to discard received Layer 2 PDUs.
To protect an interface enabled with Layer 2 protocol tunneling against PDU attacks, run the l2protocol-tunnel drop-threshold command to configure a drop threshold for Layer 2 PDUs on the interface. The interface then drops excess Layer 2 PDUs when the number of Layer 2 PDUs received in 1s exceeds the configured drop threshold.
If each interface of a backbone network device has multiple user networks accessed and the Layer 2 PDUs sent by the user networks carry VLAN tags, to allow these Layer 2 PDUs to be transparently transmitted over the backbone network, run the l2protocol-tunnel { all | protocol } { [ reverse ] vlan low-id [ to high-id ] } &<1-10> command to enable Layer 2 protocol tunneling on the tagged interfaces.
On some special networks, for example, a network with both Huawei and non-Huawei devices, to ensure that the Huawei device can communicate with the non-Huawei device, run the l2protocol-tunnel { all | protocol } reverse [ drop ] command to enable reverse Layer 2 protocol tunneling on the Huawei device's interface that connects to the non-Huawei device, so that the interface replaces a specified multicast MAC address with the multicast destination MAC address in Layer 2 PDUs.
The configuration is committed.