No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
stp bpdu-protection

stp bpdu-protection


The stp bpdu-protection command enables BPDU protection on a switching device.

The undo stp bpdu-protection command disables BPDU protection on a switching device.

By default, the BPDU protection is disabled.


stp bpdu-protection

undo stp bpdu-protection




System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a Layer 2 network running a spanning tree protocol, a port connected to terminals does not need to participate in spanning tree calculation. If the port participates in spanning tree calculation, the network convergence speed will be affected. In addition, status changes of the port may cause network flapping, interrupting user traffic. To address this problem, you can run the stp edged-port enable command to configure the port as an edge port. Then, the port will not participate in the spanning tree calculation. This speeds up network convergence and improves network stability.

An edge port will lose edge port attributes after receiving BPDUs. To prevent attackers from forging BPDUs to change edge ports to non-edge ports, you can run the stp bpdu-protection command to configure BPDU protection on a switching device.


# Enable the BPDU protection on the switching device.

<Huawei> system-view
[Huawei] stp bpdu-protection
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202904

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next