Chapter 6 of 10 · Juniper JNCIS-SP JN0-364

Spanning-Tree Protocols

STP and RSTP, port roles and BPDUs, convergence, MSTP and VSTP, and BPDU, root and loop protection.

  • 3topics
  • 16 minfast track

Topics in this chapter

Take them in order, or jump to the one you need.

  1. 1STP and RSTP, Port Roles, States and BPDUsLearn STP and RSTP on MX routers for JNCIS-SP JN0-364: root bridge election, port roles and states, BPDU contents, timers and…5 min
  2. 2Convergence, MSTP and VSTPLearn spanning tree convergence, topology changes, MSTP regions and instances and per-VLAN VSTP on MX routers for JNCIS-SP…6 min
  3. 3Spanning Tree SecurityProtect spanning tree on MX routers for the JNCIS-SP JN0-364: BPDU protection on edge ports, bpdu-block, root protection, loop…5 min

About this chapter

What this chapter covers

Spanning-Tree Protocols covers how bridged networks, including MX Series bridge domains, stay loop free while keeping redundant links. It explains how the root bridge and port roles are chosen, what BPDUs carry, how fast each protocol recovers from a failure, how MSTP and VSTP spread VLANs across links, and how to protect the tree from rogue or missing BPDUs.

Questions are mostly single-answer and multiple-answer. Many show show spanning-tree bridge or show spanning-tree interface output and ask which bridge is root, which port is blocked, or why a port is in an unusual state.

It has 10 outline topics, and three pages cover them.

How the topics fit together

The base election rules apply to every version. RSTP speeds them up, MSTP and VSTP run several trees instead of one, and the protection features guard the result.

STProot, ports, BPDUsfasterRSTPedge, proposal, alternatemore treesMSTP and VSTPprotectBPDU, root and loop protection

Learn the root election and port role rules first. Convergence, multiple instances and every protection feature are explained in terms of root ports, designated ports and alternate ports.

Exam tip

Memorize the defaults: bridge priority 32768 in steps of 4096, port priority 128, hello 2 seconds, max age 20 seconds, forward delay 15 seconds, and BPDUs sent to 01:80:C2:00:00:00. On the MX, spanning tree is configured under protocols rstp, mstp or vstp.

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 in a question, elect the root first, then mark the root port on every other bridge, then the designated port on every link. Whatever is left is blocked.

Ready for more practice?

The full Juniper JNCIS-SP JN0-364 question bank has 860 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.