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

947 0 0 0

A:

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 16:07.
  • x
  • convention:

Reply

Reply
You need to log in to reply 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top