Pcornel
Networking · Network & Protocols › Spanning Tree Protocol Reference

Loop Guard Deep Reference

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

Back to the Topic

Answer

Loop Guard protects against a link that stops delivering BPDUs while still carrying traffic. A blocked or root port that stops hearing BPDUs is held blocked and not opened.

Remember

A blocked port stays blocked only while BPDUs arrive; without Loop Guard, silence opens it and creates a loop. It acts per VLAN and recovers when BPDUs return. It complements UDLD and cannot be combined with Root Guard on one port.

First checks

  • show spanning-tree summary — Loop Guard enabled by default?
  • show spanning-tree inconsistentports — port, VLAN and "Loop Inconsistent".
  • show spanning-tree interface <interface> detail — is the received-BPDU counter still rising?
  • show interfaces <interface> transceiver detail — light levels on fibre.

Commands

show interfaces transceiver detail

Verify in this order

Loop Guard enabled on root and alternate ports → BPDUs received every hello time → port keeps its role; BPDUs stop → loop-inconsistent → link repaired → BPDUs return → normal role

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=254

Confirmation

Confirm action

Continue?