Got it

[All About Switches] Q&A: How Do I Enable BPDU Protection?

Latest reply: Aug 12, 2021 18:28:56 1648 2 2 0 0


To enable BPDU protection, run the stp bpdu-protection command in the system view.

Edge ports do not participate in spanning tree calculation. This prevents network flapping caused by port status changes. An edge port, however, will lose edge port attributes after receiving BPDUs. To prevent attackers from forging BPDUs to change edge ports to non-edge ports, you can enable BPDU protection.

After BPDU protection is enabled on a switch, the switch shuts down an edge port if the edge port receives a BPDU. The attributes of the edge port are not changed. By default, an interface cannot automatically restore to Up state after it is shut down. To restore the interface, run the shutdown and undo shutdown commands on the interface in sequence. Alternatively, run the restart command on the interface to restart the interface.

If you want an edge port to automatically recover from the error-down state, you can run the error-down auto-recovery cause bpdu-protection interval interval-value command in the system view to configure the auto recovery function and set a recovery delay on the port. Then a port in error-down state can automatically go Up after the delay expires.

This post was last edited by All_About_Switch at 2018-06-30 08:07.
  • x
  • convention:

MVE Created Aug 12, 2021 12:29:07

Thanks you!
View more
  • x
  • convention:

MVE Author Created Aug 12, 2021 18:28:56

Thanks for sharing. Useful
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 " User Agreement."

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.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.