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.


Troubleshooting Guide

CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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).
How Do I Configure STP When a CE Series Switch Connects to a Server?

How Do I Configure STP When a CE Series Switch Connects to a Server?


If a specified port of a CE switch directly connects to a server but not another switch, you can configure the port as an edge port. Then the port does not participate in spanning tree calculation, which shortens the network topology convergence time and improves network stability.

Normally, an edge port will not receive BPDUs. If a switch is attacked by forged BPDUs, the edge port will receive the BPDUs. The switch then sets the edge port as a non-edge port and recalculates the spanning tree, resulting in network flapping. You can enable BPDU protection to prevent the attacks.


When a CE switch connects to a server, configure the port directly connects to the server as an edge port and configure BPDU protection simultaneously. The RSTP mode is used as the example:
<HUAWEI> system-view
[~HUAWEI] stp mode rstp  //Configure the device to work in RSTP mode.
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] stp edged-port enable  //Configure the port as the edge port.
[*HUAWEI-10GE1/0/1] quit
[*HUAWEI] stp bpdu-protection  //Enable BPDU protection.
[*HUAWEI] commit
Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 611801

Downloads: 2956

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next