Pcornel
Networking · Switching › STP › STP Enhancements

Root Guard

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

Back to the Topic

Answer

Root Guard stops a port from becoming a root port. If a superior BPDU arrives — for example from a downstream switch trying to become root — the port goes into root-inconsistent (blocking) state until the superior BPDUs stop.

Remember

Root Guard lets BPDUs in but refuses superior ones: the port goes root-inconsistent (blocked) for the affected VLANs and recovers by itself when the superior BPDUs stop. Configure it on designated ports pointing away from the root, never on your own uplinks. Root Guard and Loop Guard cannot both be active on one port.

First checks

show spanning-tree inconsistentports → Root Inconsistent per VLAN and port. show spanning-tree vlan 10 → BKN* with *ROOT_Inc. show spanning-tree interface <if> detail → Root guard is enabled. Then find the downstream switch with the too-low priority.

Commands

show spanning-tree inconsistentports
Lists ports held inconsistent by guard/protection mechanisms.
spanning-tree guard root
Enable Root Guard on an interface.
show spanning-tree bridge
show spanning-tree root

Verify in this order

Root Guard on a downstream-facing designated port → superior BPDU arrives → port root-inconsistent for that VLAN, root stays where it is → downstream priority corrected → superior BPDUs stop → port recovers automatically

Where it usually breaks

physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path

Root Guard · operational reference

State / evidenceInterpretation
Superior BPDUUnexpected root claim
Root-inconsistentProtection state
Physical linkMay remain healthy
Corrective actionFix root design/source

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

Confirmation

Confirm action

Continue?