Missiora
Spanning Tree Protocol (STP)

Technology Fundamentals

Spanning Tree Protocol (STP)

1 min readPublished 22 Jul 2026

Track your progress. Sign in to mark this guide complete and build your Job Readiness Score.

Redundant links make networks resilient — but without protection they create switching loops that flood the network. Spanning Tree Protocol prevents exactly that.

Interactive explainer

Spanning Tree Protocol (STP)

How redundant switch links stay loop-free.

BLOCKEDRoot bridgeSW-ASW-B

Tap or hover a part to learn more.

Root bridge

The reference switch.

STP elects one switch as the root bridge (the lowest bridge ID wins). Every path decision is made relative to it, so set it deliberately on a core switch rather than letting it be chosen by accident.

Check your understanding

1. What problem does STP prevent?

2. What does STP elect first?

Practise this in AI Interview™

The core idea

  • A Layer 2 loop causes broadcast storms that can take down a network.
  • STP elects a root bridge and blocks redundant paths, leaving one active route.
  • If the active path fails, a blocked path is unblocked to restore connectivity.

How it works in practice

  • RSTP (Rapid STP) converges much faster than the original STP.
  • PortFast puts access (end-device) ports straight into forwarding.
  • Root bridge placement should be deliberate, not accidental.

Common mistakes

  • Disabling STP and creating loops.
  • Letting a random switch become the root bridge.
  • Enabling PortFast on a link to another switch.

Why it matters for your career

STP is a core CCNA topic and a common cause of real outages — understanding it signals genuine switching knowledge.

Technical interview questions

  1. Why do redundant switch links need STP?
  2. What is a root bridge?
  3. What is the difference between STP and RSTP?

Practice questions

  1. What does a Layer 2 loop cause? (Broadcast storm)
  2. What does STP elect? (A root bridge)
  3. What converges faster than STP? (RSTP)

Where this fits in your networking journey

This is one concept in the Networking Fundamentals path, which leads into CompTIA Network+ and Cisco CCNA. When this clicks, review Switching & VLANs and continue with Routing.

Practise with Missiora

Interview Intelligence

How this topic actually shows up in interviews — and how to demonstrate you understand it.

Why employers ask about this

Redundancy without STP is dangerous; interviewers check you understand loop prevention.

Technical questions
What problem does STP solve?+

It prevents Layer 2 loops (and broadcast storms) by blocking redundant paths while keeping them as backups.

What is a root bridge?+

The reference switch STP elects (lowest bridge ID) that all path decisions are made relative to.

Behavioural questions
Tell me about diagnosing an outage caused by a loop.+

Describe recognising the broadcast storm symptoms and confirming STP configuration.

Real-world scenarios
“Adding a second switch link brings the network down.”+

Expected answer: A loop formed; ensure STP is enabled and electing a root bridge correctly.

Common candidate mistakes
  • Disabling STP and causing a loop.
  • Letting a random switch become root.

Employability Intelligence

Where this knowledge takes you — the jobs, skills and certifications it feeds into.

Relevant roles
Network AdministratorNetwork Engineer
Skills you're proving
Spanning TreeRedundancyLoop prevention
Recommended certifications
Career progression

Network Administrator → Network Engineer.

What employers expect

That you can build redundant switching safely.

Frequently asked questions

What is spanning tree (stp) in networking?

Redundant links make networks resilient — but without protection they create switching loops that flood the network. Spanning Tree Protocol prevents exactly that.

Why do redundant switch links need STP?

A Layer 2 loop causes broadcast storms that can take down a network. STP elects a root bridge and blocks redundant paths, leaving one active route.

Do I need this for Network+ or CCNA?

Yes — Spanning Tree (STP) is a core concept in CompTIA Network+ and Cisco CCNA. Understanding it here first makes the certification material much easier.

Related guides

Practise what you've learned

Turn this guide into real, evidenced progress

Missiora helps you measure, improve and evidence the capabilities employers actually value — start with the tools best suited to this topic.

M
Published by
Missiora

Missiora is an AI Employability Intelligence platform. Our resources are researched and reviewed by the Missiora team to help you measure, improve and prove your career readiness.