BPDU Filter
Cheat sheet · https://pcornel.dk/topic.php?topic=613
Answer
BPDU Filter stops a port from sending and receiving BPDUs. Configured globally it only affects PortFast ports and turns PortFast off if a BPDU arrives; configured on an interface it disables STP there completely, which can cause loops — use with great care.
Remember
Two very different behaviours. Global (portfast bpdufilter default): PortFast ports stop sending BPDUs, but a received BPDU removes PortFast and the filter, so STP protection returns. Interface (bpdufilter enable): BPDUs are neither sent nor processed — spanning tree is off on that port and a loop behind it will not be detected. On the same port the filter overrides BPDU Guard.
First checks
show spanning-tree interface <if> detail → Bpdu filter is enabled and the sent/received counters. show running-config | include bpdufilter → global or interface form. show spanning-tree summary → Portfast BPDU Filter Default.
Commands
spanning-tree bpdufilter enable- Stop sending and receiving BPDUs on the port; can create loops, use with care.
spanning-tree portfast bpdufilter default- Enable BPDU Filter on all PortFast ports globally.
show spanning-tree interface <port> detail
Verify in this order
filter form (global default vs interface) → global: edge port stays silent until a BPDU arrives, then normal STP → interface: no BPDUs in or out, STP blind on the port → a loop behind the port is not blocked
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
BPDU Filter · operational reference
| State / evidence | Interpretation |
|---|---|
| BPDU Guard | Detects and blocks violation |
| BPDU Filter | Suppresses BPDU visibility |
| Interface forwarding | Can exist without STP visibility |
| Use case | Narrow and explicit |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=613