Pcornel
Networking · Network & Protocols › Spanning Tree Protocol Reference

Root Guard Deep Reference

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

Back to the Topic

Answer

Root Guard keeps the root bridge where it was designed to be. A port with Root Guard ignores a BPDU claiming a better root and stays blocked while such BPDUs keep arriving.

Remember

It acts per VLAN and recovers by itself when the better BPDUs stop — bouncing the port does not help while they continue. Never put it on a port that faces the root or the backup root.

First checks

  • show spanning-tree inconsistentports — port, VLAN and "Root Inconsistent".
  • show spanning-tree vlan <id> — the port shown as BKN* with type *ROOT_Inc.
  • show spanning-tree vlan <id> on the switch behind the port — its bridge priority.

Commands

show spanning-tree inconsistentports
show spanning-tree vlan 10

Verify in this order

root and backup root have the lowest priorities → Root Guard on ports facing away from them → no better BPDU arrives → ports stay designated and forwarding

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

Confirmation

Confirm action

Continue?