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

Reminder

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

upgrade

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 mode (system view)

stp mode (system view)

Function

The stp mode command sets the operation mode of the spanning tree protocol on a switching device.

The undo stp mode command restores the default operation mode of the spanning tree protocol.

By default, the switching device operates in MSTP mode.

Format

stp mode { mstp | rstp | stp }

undo stp mode

Parameters

Parameter Description Value
mstp Indicates the MSTP mode. -
rstp Indicates the RSTP mode. -
stp Indicates the STP mode. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On an STP/RSTP/MSTP network, switching devices running different spanning tree protocols cannot communicate with each other. As a result, spanning trees cannot be properly calculated. A switching device has three operation modes: MSTP, RSTP, and STP.

The stp mode command can be used to set a proper operation mode for a spanning tree protocol on a switching device and enables the switching device to identify BPDUs sent by a switching device that runs a different spanning tree protocol during communication.

By default, all ports on a switching device operate in MSTP mode. When a switching device finds that it is directly connected to an STP switching device, it automatically switch the operation mode the port directly connected to the STP switching device to STP.

Configuration Impact

  • After the stp mode mstp command is run on a switching device, all ports running MSTP on the switching device, excluding the ports directly connected to STP switching devices, operate in MSTP mode and can send MSTP BPDUs. The ports directly connected to STP switching devices operate in STP mode.

  • After the stp mode rstp command is run on a switching device, all ports running RSTP on the switching device, excluding the ports directly connected to STP switching devices, operate in RSTP mode and can send RSTP BPDUs. The ports directly connected to STP switching devices operate in STP mode.

  • After the stp mode stp command is run on a switching device, all ports of the switching device operate in STP mode and send configured BPDUs.

Precautions

  • A port operating in MSTP mode can communicate with a port operating in RSTP mode.

  • The stp mode rstp command can be used to enable a switch that does not support MSTP to communicate with an STP switch.

Example

# Set the operation mode of the switching device to the STP mode.

<Huawei> system-view
[Huawei] stp mode stp
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 201098

Downloads: 122

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