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

Created Jun 30, 2018 16:04:14 709 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-6-30 16:07.
  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top