Avatar of AXISHK
AXISHK
 asked on

portfast and bpdufilter

What's the difference between portfast and bpdufilter ? They both block the bpdu prevent a loop ?


spanning-tree bpdufilter enable

spanning-tree portfast
Switches / Hubs

Avatar of undefined
Last Comment
AXISHK

8/22/2022 - Mon
dmdavies

BPDUfilter filters BPDUs in both directions, which will actually disable STP on the port.  Bpdu filter prevents inbound and outbound bpdu and will remove the portfast state on a port, if a bpdu is received.  Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in spanning-tree loops.

spanning-tree portfast enables you to bypass the listening, learning states of STP on a trunk or access port, and is intended more for connecting single host devices, if you configure this on a port connecting to another switch you still run the risk of a network loop.
AXISHK

ASKER
" Bpdu filter prevents inbound and outbound bpdu and will remove the portfast state on a port, if a bpdu is received. "

If it is enabled, bpud shouldn't be received as it has been filtered out.  Why a bpud can still be received in the statement ?

Where should we apply bpdufilter ? Tks
ASKER CERTIFIED SOLUTION
dmdavies

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Don Johnston

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
AXISHK

ASKER
Tks
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck