< Home

bpdu

Function

The bpdu command configures an interface to send received BPDUs to the CPU or discard BPDUs.

By default, an interface sends received BPDUs to the CPU.

Format

bpdu { disable | enable }

undo bpdu disable

Parameters

Parameter

Description

Value

disable | enable

Indicates the action that an interface performs on BPDUs.
  • disable: The interface discards BPDUs.
  • enable: The interface sends BPDUs to the CPU.

-

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, MultiGE interface view, port group view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

After you run the bpdu enable command on an interface, the interface forwards a packet to the CPU if the destination MAC address of the packet is the BPDU MAC address. You can use the display bpdu mac-address command to view the BPDU MAC address.

This command is not supported by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, S5735S-S, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S. On these switches, an interface discards BPDUs by default. If BPDUs of a protocol need to be sent to the CPU for processing, enable functions of the protocol. For example, if STP BPDUs need to be sent to the CPU for processing, enable STP globally and on the interface.

Example

# Enable Eth-Trunk 1 to send received BPDUs to the CPU.

<HUAWEI> system-view
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] bpdu enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >