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
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 ?
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.