The bpdu-tunnel enable command enables bridge protocol data unit (BPDU) tunneling on an interface to transparently transmit BPDUs from user networks.
The bpdu-tunnel disable command disables BPDU tunneling on an interface.
The undo bpdu-tunnel enable or bpdu-tunnel disable command disables BPDU tunneling on an interface.
By default, BPDU tunneling is disabled on an interface.
Usage Scenario
When user networks need to send BPDUs over a carrier network to perform the spanning tree calculation, run the bpdu-tunnel enable command to enable BPDU tunneling on user-side interfaces of the PEs on the carrier network. In this situation, the PEs do not send BPDUs to their CPUs for processing. Instead, they transparently transmit the BPDUs through BPDU tunnels over the carrier network to user networks.
Prerequisites
If the interface is a Layer 3 interface, it must have been switched to a Layer 2 interface using the portswitch command.
Follow-up Procedure
If a spanning tree protocol is enabled on the interface, run the stp disable command to disable the spanning tree protocol.
Precautions
The bpdu-tunnel stp vlan and bpdu-tunnel enable commands cannot be both configured on the same interface. If they are both configured, the system prompts a configuration conflict.