bpdu-tunnel enable

Function

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.

Format

bpdu-tunnel enable

bpdu-tunnel disable

undo bpdu-tunnel enable

Parameters

None

Views

Layer 2 100GE interface view, Layer 2 10GE interface view, 25GE-L2 view, 400GE-L2 view, Layer 2 40GE interface view, Layer 2 50GE interface view, Layer 2 Eth-Trunk interface view, Layer 2 GE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ethernet write

Usage Guidelines

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.

Example

# Enable BPDU tunneling on GE 0/1/1 to transparently transmit received BPDUs.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] portswitch
[*HUAWEI-GigabitEthernet0/1/1] bpdu-tunnel enable
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >