New here? Start with our CCNA Foundations skill path to build a solid networking base.

CCNA
Intermediate

STP Fundamentals + Troubleshooting

Overview

Understand Spanning Tree Protocol operation, root bridge election, port roles, and common STP issues.

Prerequisites

Understanding of Layer 2 switching, VLANs, MAC address forwarding

Topology

Four switches in a redundant topology with multiple paths. Various link speeds to observe STP cost calculations.

STP
Spanning Tree
Root Bridge
Layer 2

Lab Steps

Step 1Verify default STP operation

Examine the default STP topology and identify root bridge, port roles (root, designated, blocking).

Checklist:

  • Identify root bridge
  • Document port roles
  • Note STP timers
Step 2Manipulate root bridge election
Step 3Observe STP convergence

Configurations

Root Bridge Configuration
SW1
SW1cisco
spanning-tree vlan 1 priority 4096
!
! Or use the macro:
spanning-tree vlan 1 root primary

Verification

Verify STP topology

Commandscisco
show spanning-tree
show spanning-tree root
show spanning-tree interface fa0/1

Expected Output:

Outputcisco
Root ID    Priority    4097
           Address     0001.1111.1111
           This bridge is the root

Common Issues