Spanning Tree

Created: Jun 21, 2018 11:10:43Latest reply: Jun 21, 2018 11:59:24 736 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:

Featured Answers
StarOfWest
Created Jun 21, 2018 11:59:24 Helpful(0) Helpful(0)

Hello,

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.
http://support.huawei.com/hedex/pages/EDOC1000161579DEG0801J/04/EDOC1000161579DEG0801J/04/resources/dc/error-down_auto-recovery.html

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
All Answers
Fathy
Fathy Created Jun 21, 2018 11: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:

Enterprise%20IP%20Datacom%20TAC%20Engineer%20%7C%7C%20HCIE%20R%26S%20No.9350
Fathy
Fathy Created Jun 21, 2018 11:25:36 Helpful(0) Helpful(0)

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

Enterprise%20IP%20Datacom%20TAC%20Engineer%20%7C%7C%20HCIE%20R%26S%20No.9350
Trans_HB
Trans_HB Created Jun 21, 2018 11:48:23 Helpful(0) Helpful(0)

good
  • x
  • convention:

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

Hello,

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.
http://support.huawei.com/hedex/pages/EDOC1000161579DEG0801J/04/EDOC1000161579DEG0801J/04/resources/dc/error-down_auto-recovery.html

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

Comment

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

Notice 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 and enjoy all the member benefits

Login