Spanning Tree

Created: Jun 21, 2018 19:10:43Latest reply: Jun 21, 2018 19:59:24 593 4 0 0
  Rewarded Hi-coins: 0 (problem resolved)
If I am implementing ROOT protection on a SW have end users connected, should I configure BPDU protection too, or it should be enough to protect against bogus BPDU messages?
  • x
  • convention:

StarOfWest  Engager   Created Jun 21, 2018 19:59:24 Helpful(0) Helpful(0)


It's best to configure the following command combo:

1. stp edge port enable on interface, to disable terminal connecting interface to participate to spanning tree calculation
2. stp bpdu-protection on system view, this will enable edge port to lose the edge attribute when a bpdu will arrive on that specific interface (by default edge port will transform in normal port if a BPDU will arrive)
3. stp bpdu-filter enable on the interface, to disable current edge interface for sending out BPDUs.
4. it's best to setup error-down for bpdu protection, the interface will go down for a specific amount of time when a bpdu arrive on it. See additional details.

To conclude:
1. Above command combo should be applied to the interfaces that connects to end-users.
2. Root protections, should be applied on uplinks of the root bridge, not on the interfaces that connects to end-users, edges
  • x
  • convention:

“We only get answers to the questions that we ask.” physicist Werner Heisenberg
Fathy  Visitor   Created Jun 21, 2018 19:23:19 Helpful(1) Helpful(1)

Root Protection on a Port:
Due to incorrect configurations or malicious attacks on a network, a valid root bridge may receive BPDUs with a higher priority. Consequently, the valid root bridge is no longer able to serve as the root bridge and the network topology is changed, triggering spanning tree recalculation. As a result, traffic may be switched from high-speed links to low-speed links, causing network congestion. To prevent network congestion, enable root protection on the switch to protect the role of the root switch by retaining the role of the designated port.

BPDU Protection on a Switch:
Edge ports are directly connected to user terminals and will not receive BPDUs. Attackers may send pseudo BPDUs to attack the switch. If the edge ports receive the BPDUs, the switch configures the edge ports as non-edge ports and triggers a new spanning tree calculation. Network flapping then occurs. BPDU protection can be used to protect switches against malicious attacks.

Perform the following procedure on all switches that have edge ports.
  • x
  • convention:

Fathy  Visitor   Created Jun 21, 2018 19:25:36 Helpful(0) Helpful(0)

Simply you can configure Both of Them for Kinds of Protection .
  • x
  • convention:

Trans_HB  Enthusiast Technician   Created Jun 21, 2018 19:48:23 Helpful(0) Helpful(0)

  • x
  • convention:


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!
Fast reply Scroll to top