Got it

How do I enable or disable STP? [All About Switches] - Q&A

Latest reply: Mar 8, 2019 01:23:42 3350 1 0 0 0

Hello, Community!

This post is about the question 'How do I enable or disable STP?', as part of the Q&A of the 'All About Switches' section on the Community. Please see more details as you read further down.


How do I enable or disable STP?


To enable STP/RSTP/MSTP/VBST, run the stp enable command in the system view or interface view.

To disable STP/RSTP/MSTP/VBST, run the undo stp enable or stp disable command in the system view or interface view.

1. To enable or disable STP/RSTP/MSTP/VBST on a specific interface, run the corresponding command on the interface. Examples are as follows:

# Enable STP/RSTP/MSTP/VBST on GE0/0/1.

<HUAWEI> system-view

[HUAWEI] interface gigabitethernet 0/0/1

[HUAWEI-GigabitEthernet0/0/1] stp enable


# Disable STP/RSTP/MSTP/VBST on GE0/0/1.

<HUAWEI> system-view

[HUAWEI] interface gigabitethernet 0/0/1

[HUAWEI-GigabitEthernet0/0/1] undostp enable


2. For more information about configuration examples, visit the corresponding web pages.





For more information about configurations and principles of loop protocols, see the corresponding product documentation.

Step 1. Log in to the Huawei Enterprise Technical support website:

Step 2. Select the product, for example Switch > S5700.


Step 3. Select the corresponding product documentation from the Downloadable Product Documentation Package.


Step 4. See the configurations about relevant loop protocols under Configuration > CLI-based Configuration Guide > Ethernet Switching Configuration Guide.


This would be all on the the question 'How do I enable or disable STP?'. Thanks for reading this post!

  • x
  • convention:

Created Mar 8, 2019 01:23:42

why are you configure stp disable?
And when configured stp disable?
View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.