Link to home
Start Free TrialLog in
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
Avatar of dmdavies
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.
Avatar of 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
Avatar of dmdavies
dmdavies

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Tks