Chapter 2 of 9 · Juniper JNCIS-ENT JN0-352
Spanning Tree
STP and RSTP concepts, port roles and states, BPDUs, convergence, and Junos configuration and show commands.
- 3topics
- 17 minfast track
- 1diagrams and exhibits
Topics in this chapter
Take them in order, or jump to the one you need.
- 1STP and RSTP Concepts and BPDUsLearn why Layer 2 loops need spanning tree, how the root bridge is elected from the bridge ID, and what configuration, TCN and…5 min
- 2Port Roles, Port States and ConvergenceLearn STP and RSTP port roles (root, designated, alternate, backup), port states, edge ports and how fast each protocol converges…Diagram6 min
- 3Configuring and Troubleshooting STP and RSTPConfigure and troubleshoot STP and RSTP on Junos: bridge priority, port cost, edge ports, force-version and the show…6 min
About this chapter
What this chapter covers
Spanning Tree covers how switches remove Layer 2 loops while keeping redundant links ready as backups. A loop in an Ethernet network makes broadcast frames circle forever, so the protocol blocks selected ports to leave one loop free path between any two switches. The chapter covers the classic Spanning Tree Protocol (STP, 802.1D) and the faster Rapid Spanning Tree Protocol (RSTP, 802.1w), which is the default on Junos EX switches.
Questions are mostly single-answer and multiple-answer. Many show a small topology or show spanning-tree output and ask which switch is the root, what role a port has, or what happens after a link fails.
It has 6 outline topics, and three pages cover them.
How the topics fit together
Spanning tree runs in a fixed order. Switches exchange BPDUs, elect a root bridge, each other switch finds its best path to that root, and the ports get roles that decide which of them forward.
Every exam question about spanning tree can be solved in the same order. Find the root bridge first, then the root port on each switch, then the designated port on each segment. Whatever remains is blocked.
How to use these pages
Each topic page has the same shape, so you can skim for what you need.
- What it is: the idea in plain words.
- How it works: the mechanism, with configuration and tables.
- Common mistakes: the classic traps.
- What to remember for the exam: the facts to memorize.
- Check yourself: three questions to test your understanding.
For each topology, work out the roles yourself before reading the answer.
Ready for more practice?
The full Juniper JNCIS-ENT JN0-352 question bank has 846 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Juniper. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.