Cyber Code Academy
Tutorials Academy Courses
Home / CCA-CCNP-Enterprise-Tutorials / Spanning Tree: RSTP, Root Bridge, and Protection

Spanning Tree: RSTP, Root Bridge, and Protection

Why STP matters

Layer 2 redundant paths can create loops, broadcast storms, and MAC-table instability. Spanning Tree blocks selected paths while preserving redundancy. Rapid PVST+ and MST are common Cisco options; exact support depends on platform.

Root selection

The lowest bridge ID wins: bridge priority first, then MAC address. Plan the root bridge intentionally rather than relying on defaults.

spanning-tree vlan 10 root primary
spanning-tree portfast default
spanning-tree bpduguard default

Use PortFast only on true edge ports. BPDU Guard protects edge ports by disabling a port that receives a BPDU. Verify with show spanning-tree vlan 10.

Quick revision

  • Explain the concept in your own words.
  • Run the relevant verification commands in a lab.
  • Record one common failure and how you would isolate it.

Want to learn this professionally?

Explore practical IT training at Cyber Code Academy.

View Academy Courses