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 edged-port

stp edged-port


The stp edged-port enable command sets the current port as an edge port.

The stp edged-port disable command sets the current port as a non-edge port.

The undo stp edged-port command restores the default attribute of an edge port.

By default, all the ports on the switching device are non-edge ports.


stp edged-port { enable | disable }

undo stp edged-port


Parameter Description Value
enable Sets the current port as an edge port. -
disable Sets the current port as a non-edge port. -


GE interface view, Eth-Trunk interface view, XGE interface view, MultiGE interface 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.


If a port of a switching device receives a BPDU after being configured as an edge port, the switching device will automatically set the port as a non-edge port and recalculate the spanning tree.


# Configure GE0/0/1 as an edge port.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] stp edged-port enable
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 209287

Downloads: 122

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