Professional Documents
Culture Documents
STP Filters (BPDUfilter+BPDUguard+Rootguard)
STP Filters (BPDUfilter+BPDUguard+Rootguard)
Portfast
Uplinkfast
Backbonefast
STP Filters:
BPDU Filter
BPDU Guard
Root Guard
F0/0 E0/0
R SW1
A description STP Filters It is that the switch was suddenly sent to him by BPDU messengers and they
were received
In the next forecast, a scenario will be created that simulates this imagination. Here is
The explanation
The switch has received a BPDU message, and it is assumed that it is not allowed to receive that message,
so what is the solution
In the above drawing, assuming that the router connected to the switch is end device
Assuming that in the previous scenario, the router works as an end device, and this is only for
assumption and not real, and a BPDU message was sent to switch 1, what is expected
Hint
The end device is the last access device, but for the explanation to be clear, it was explained on a router,
and because we will convert the router into a switch in the following steps
Fares Mostafa
Firstly
Let us ask ourselves whether port E0/0 receives BPDU messages or not
1-BPDU Fliter
2-BPDU Guard
BPDU Filter
BPDU Fliter
The result is similar to that you have disabled a protocol spanning tree
Down
In this case, there is no problem, the problem is when the device connected to the switch is not represented
Fares Mostafa
The question that arises is when the problem is, which we mentioned earlier when the connection is
through 2 switches or a router and a switch
In this case, the first switch will send a BPDU message especially if they are based on redundancy
Conclusion
Here two messages will be sent from BPDU and happen loop
But in case you need to implement BPDU Filter recommended activate the level globally
BPDU Guard: When applied to the switch in both cases, they have the same effect (error disable)
to solve a problem error disable It is Shutdown the port and no Shutdown port
Fares Mostafa
Fares Mostafa
In the previous laboratory, BPDU messages are sent, but no message is received by the switch, and it ignores
them as shown in the pictures
Fares Mostafa
We will activate a protocol Spanning tree on the router and we notice the changes
Hint
The router here will play the root role because it is value priority = 0
Fares Mostafa
Per interface: doesn’t send BPDU and doesn’t process BPDU
Fares Mostafa
Fares Mostafa
Back to default 300 seconds
Fares Mostafa
Hint
It is recommended to change the value interval before cause so the old default time is not used
Fares Mostafa
Hint
Root Guard
Hierarchical
Fares Mostafa
Root Guard
Core
Inconsistent port
Distribution Distribution
ROOT
Access Access
Superior BPDU Access Access
practical application
Fares Mostafa
Router
Switch
Switch
Fares Mostafa
Router
Fares Mostafa