Pcornel
Networking · Network & Protocols › Spanning Tree Protocol Reference

BPDU Guard Deep Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=252

Back to the Topic

Answer

BPDU Guard shuts a port down the moment it receives a spanning-tree BPDU. It belongs on ports meant for end devices, where a BPDU means a switch or a loop has been connected.

Remember

The port stays down until re-enabled, or until errdisable recovery fires — and it goes down again if the cause is still attached. Find and remove the device first. BPDU Filter is not a milder BPDU Guard; it removes the protection.

First checks

  • show interfaces status err-disabled — the port and the reason.
  • show spanning-tree interface <interface> detail — BPDU Guard enabled, BPDUs received.
  • show spanning-tree summary — enabled by default?
  • show errdisable recovery — will the port come back by itself?

Commands

show errdisable recovery

Verify in this order

port configured as edge with BPDU Guard → no BPDU received → port forwarding; BPDU received → err-disabled → cause removed → port re-enabled

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=252

Confirmation

Confirm action

Continue?