The bpdu-tunnel stp vlan command configures an interface to allow tagged bridge protocol data units (BPDUs) to pass.
The undo bpdu-tunnel stp vlan command restores the default configuration.
By default, an interface does not forward tagged BPDUs.
Parameter | Description | Value |
---|---|---|
vlan-id1 | Specifies a VLAN range. <lowVid> specifies the start VLAN ID. |
The value is an integer ranging from 1 to 4094. |
vlan-id2 | Specifies a VLAN range. <highVid> specifies the end VLAN ID. <highVid> must be greater than <lowVid>. <lowVid> and <highVid> specify a VLAN range. If you do not specify to <highVid>, the interface allows only BPDUs with VLAN ID being <lowVid> to pass. |
The value is an integer ranging from 1 to 4094. |
Usage Scenario
When different user networks are connected to the same interface of a PE on the convergence layer and the user networks need to send BPDUs over the carrier network to perform the spanning tree calculation, the BPDUs from the user networks carry VLAN tags. You can run the stp bpdu vlan command to configure the VLAN IDs of the BPDUs.
Run the bpdu-tunnel stp vlan command on the user-side interfaces of the PEs. 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. In most cases, the bpdu-tunnel stp vlan command is configured on the user-side interface of a PE.Prerequisites
If the interface is a Layer 3 interface, it must have been switched to a Layer 2 interface using the portswitch command.
Configuration Impact
If the bpdu-tunnel stp vlan command is run more than once, all configurations take effect.
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.