JNCIS-ENT · domain
Spanning Tree
Practise JNCIS-ENT STP questions covering root bridge election, bridge IDs, port roles (root, designated, blocking), path cost, PortFast, BPDU Guard, and how spanning tree prevents Layer 2 loops.
Focused practice
Practice Spanning Tree questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about Spanning Tree
STP questions usually test root bridge election, port roles, path cost and how spanning tree prevents Layer 2 loops.
Root bridge election and bridge ID comparison.
Root ports, designated ports and blocked/alternate ports.
Path cost and how switches choose the best path to the root bridge.
PortFast, BPDU Guard and common Layer 2 loop-prevention behaviour.
Why learners struggle
Why Spanning Tree questions are commonly missed
STP questions are missed when learners confuse bridge ID comparison direction, forget how ties are broken, or misidentify which port role a given switch port takes. The lowest bridge ID wins, but cost, port ID, and tiebreakers all play a role.
- ·Lowest bridge ID wins root election — lower priority wins, then lower MAC breaks ties
- ·Root port vs designated port — each non-root switch has exactly one root port
- ·Blocking ports are on non-designated segments — they receive BPDUs but do not forward
- ·PortFast bypasses STP states — only safe on access ports connected to end devices
- ·BPDU Guard shuts down PortFast ports that receive BPDUs — protecting against loops
- ·STP path cost uses link bandwidth — faster links have lower cost and are preferred
Watch out for
Common Spanning Tree exam traps
Question index
All Spanning Tree questions (58)
Click any question to see the full explanation, or start a practice session above.
You notice that an EX Series switch is experiencing frequent topology changes, causing intermittent packet drops across VLANs. Which command helps identify which specific interface is generating the topology changes?
Medium2Which THREE parameters are included when calculating the MST region configuration digest? (Choose three.)
Medium3An administrator is configuring MSTP on a Junos device and needs to map VLANs 10 through 20 to MST instance 2. Which configuration hierarchy is required to achieve this?
Hard4When verifying RSTP operation on a Junos switch, which operational command should you use to view the bridge identifier, root bridge identifier, and local port states?
Easy5What is the primary function of the RSTP port role known as the 'Backup' port?
Easy6An operator configures RSTP across multiple EX Series switches. A rogue switch running legacy STP is connected to an RSTP switch. How does the RSTP switch handle interaction with the legacy STP switch?
Hard7You are configuring an EX Series switch and want to set the forward delay timer to 15 seconds. Which command is used?
Medium8An enterprise network runs MSTP. Instance 0 is always reserved for which specific purpose?
Hard9Which TWO conditions will cause an MSTP boundary port to drop BPDUs or recognize a region separation? (Choose two.)
Hard10You suspect that a network loop has formed due to a misconfigured RSTP topology on your EX Series switches. Which command shows real-time topology change notifications and counts on the switch?
Medium11Which THREE actions are performed by an RSTP switch when a topology change is detected? (Choose three.)
Medium12Which THREE parameters must match across all switches for them to successfully form a single MST region? (Choose three.)
Medium13You need to ensure that a core switch retains its position as the root bridge even if a new switch with a manually lowered bridge priority is added to the network. Which feature should you configure on the core switch's ports facing the downstream switches?
Medium14Which TWO mechanisms are utilized by RSTP to achieve rapid convergence compared to legacy 802.1D STP? (Choose two.)
Hard15When a topology change occurs in an RSTP network, how are MAC address forwarding table entries affected across the switches?
Medium16What is the primary purpose of the Hello timer in RSTP?
Easy17Which TWO commands are valid Junos configuration hierarchy paths for setting up RSTP? (Choose two.)
Easy18What is the default bridge priority value assigned to Juniper EX Series switches when RSTP is enabled?
Easy19When configuring MSTP, how is the regional maximum hop count enforced across switches within the same MST region?
Hard20An organization runs MSTP with multiple instances. A packet belonging to a VLAN that is not explicitly mapped to any MST instance is processed in which manner?
Hard21Which TWO parameters are typically configured when tuning RSTP timers on Junos EX Series switches? (Choose two.)
Easy22An administrator needs to configure a Juniper EX Series switch to participate in an existing Spanning Tree topology without risking the switch becoming the root bridge. Which command should be used to achieve this?
Easy23An administrator configures root protection on a designated port. If that port subsequently receives a superior BPDU from another switch, what exact state does the port transition into?
Hard24Which TWO features help protect an RSTP topology from unauthorized switches or misconfigurations on access ports? (Choose two.)
Easy25Which THREE parameters can be configured manually to influence root bridge selection in an RSTP network? (Choose three.)
Medium26Which TWO port roles are defined in Rapid Spanning Tree Protocol (RSTP) but did not exist in legacy 802.1D STP? (Choose two.)
Hard27You notice that an access switch running RSTP is continually dropping user traffic because a connected end-user device is sending inferior BPDUs that trigger topology changes. Which Juniper feature should you configure on the access ports to protect against this behavior?
Medium28Which TWO commands can be used to view spanning tree information on a Juniper EX Series switch? (Choose two.)
Easy29Which THREE statements describe the function of the Designated Port in RSTP? (Choose three.)
Medium30An EX Series switch running MSTP receives a BPDU from an upstream switch in a different MST region. How does the receiving switch identify the boundary between the two regions?
Hard31Which RSTP port role replaces the legacy STP blocking and listening port states to provide rapid convergence?
Easy32Which TWO parameters are included when a Junos switch calculates the MST configuration digest? (Choose two.)
Medium33You need to modify the bridge priority of an EX Series switch running RSTP to ensure it becomes the root bridge. Which configuration command correctly sets the bridge priority to 4096?
Medium34Which command allows you to verify whether a specific interface on an EX Series switch is operating as an edge port?
Easy35Which command is used to display comprehensive spanning tree status, including port roles, states, and priorities across all interfaces on an EX Series switch?
Easy36Which TWO actions occur when you configure an interface as an edge port in RSTP? (Choose two.)
Easy37An administrator implements MSTP and wants to configure a maximum hop count of 20 for instance 1. Which configuration command is used in Junos OS?
Hard38You want to disable spanning tree protocol entirely on a specific access interface (ge-0/0/10.0) of an EX Series switch while keeping RSTP active globally. Which configuration command achieves this?
Medium39An enterprise network uses MSTP. What is the function of the Internal Root in an MST region?
Hard40Which command allows an operator to view the designated root bridge identifier and port roles for all active VLANs under RSTP?
Easy41An administrator configures link aggregation (ae0) using LACP between two EX Series switches running RSTP. How does RSTP treat the aggregated interface ae0?
Hard42What is the primary benefit of enabling edge port configuration on switch access ports connected to end devices?
Easy43While examining an RSTP topology, you notice that a designated port has suddenly stopped receiving BPDUs from its upstream neighbor, causing the port to transition into a discarding state to prevent potential loops. Which feature is actively providing this protection?
Medium44Which TWO operational commands are useful for troubleshooting MSTP configuration mismatches and instance status on Junos switches? (Choose two.)
Hard45What action does the 'set protocols rstp max-age <seconds>' command perform on a Juniper switch?
Easy46An EX Series switch running RSTP receives BPDUs with superior path cost information from an unauthorized access switch. Which feature should you enable on access-facing ports to prevent these unauthorized BPDUs from altering the spanning tree topology?
Hard47You need to verify the regional configuration name and revision number currently active on an EX Series switch running MSTP. Which operational command should you use?
Medium48An administrator has deployed a new EX Series switch running RSTP and notices that access ports connected to end-user workstations take up to 30 seconds to transition to the forwarding state. Which configuration command should be applied to immediately resolve this delay for access ports?
Easy49Which TWO statements are correct regarding the operation of MSTP instance 0 (CIST)? (Choose two.)
Hard50In an RSTP-enabled network, which port role immediately transitions to the forwarding state upon failure of the designated port on the segment, bypassing the traditional listening and learning states?
Easy51While troubleshooting an RSTP topology on EX Series switches, you notice that a designated port has stopped receiving BPDUs from its upstream neighbor due to a unidirectional link failure. Which feature should you enable to prevent this port from transitioning to a Designated Forwarding state and causing a loop?
Hard52Which TWO statements are true regarding loop protection in RSTP? (Choose two.)
Easy53You are troubleshooting an RSTP topology where a port remains in the discarding state. You suspect a proposal-agreement handshake is failing. Which mechanism is responsible for accelerating this handshake in RSTP?
Medium54What is the role of the Root Port in an RSTP topology?
Easy55When configuring MSTP, what purpose does the regional configuration digest serve?
Hard56You are troubleshooting a suboptimal spanning tree topology where an EX4300 switch is chosen as the STP Root Bridge despite having a high bridge priority. What command helps verify the current bridge priority and local bridge identifier parameters?
Medium57You are configuring MSTP and want to assign VLANs 10 through 50 to MST instance 2. Which configuration hierarchy is correct in Junos OS?
Medium58Which THREE states are defined in Rapid Spanning Tree Protocol (RSTP)? (Choose three.)
MediumOther domains
All JNCIS-ENT exam domains
Frequently asked questions
- What does the Spanning Tree domain cover on the JNCIS-ENT exam?
- STP questions usually test root bridge election, port roles, path cost and how spanning tree prevents Layer 2 loops.
- How many questions are in this domain?
- This page lists all 58 Spanning Tree questions in the JNCIS-ENT question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Spanning Tree questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.