Courseiva

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.

58 questions20 easy20 medium18 hard

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

  • The lowest bridge ID wins root bridge election.
  • A non-root switch has one root port: its best path toward the root bridge.
  • PortFast should be used carefully on access ports, not normal switch-to-switch links.
  • Lower STP cost is preferred, but bridge ID and port ID can break ties.

Question index

All Spanning Tree questions (58)

Click any question to see the full explanation, or start a practice session above.

1

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?

Medium
2

Which THREE parameters are included when calculating the MST region configuration digest? (Choose three.)

Medium
3

An 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?

Hard
4

When 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?

Easy
5

What is the primary function of the RSTP port role known as the 'Backup' port?

Easy
6

An 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?

Hard
7

You are configuring an EX Series switch and want to set the forward delay timer to 15 seconds. Which command is used?

Medium
8

An enterprise network runs MSTP. Instance 0 is always reserved for which specific purpose?

Hard
9

Which TWO conditions will cause an MSTP boundary port to drop BPDUs or recognize a region separation? (Choose two.)

Hard
10

You 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?

Medium
11

Which THREE actions are performed by an RSTP switch when a topology change is detected? (Choose three.)

Medium
12

Which THREE parameters must match across all switches for them to successfully form a single MST region? (Choose three.)

Medium
13

You 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?

Medium
14

Which TWO mechanisms are utilized by RSTP to achieve rapid convergence compared to legacy 802.1D STP? (Choose two.)

Hard
15

When a topology change occurs in an RSTP network, how are MAC address forwarding table entries affected across the switches?

Medium
16

What is the primary purpose of the Hello timer in RSTP?

Easy
17

Which TWO commands are valid Junos configuration hierarchy paths for setting up RSTP? (Choose two.)

Easy
18

What is the default bridge priority value assigned to Juniper EX Series switches when RSTP is enabled?

Easy
19

When configuring MSTP, how is the regional maximum hop count enforced across switches within the same MST region?

Hard
20

An 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?

Hard
21

Which TWO parameters are typically configured when tuning RSTP timers on Junos EX Series switches? (Choose two.)

Easy
22

An 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?

Easy
23

An 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?

Hard
24

Which TWO features help protect an RSTP topology from unauthorized switches or misconfigurations on access ports? (Choose two.)

Easy
25

Which THREE parameters can be configured manually to influence root bridge selection in an RSTP network? (Choose three.)

Medium
26

Which TWO port roles are defined in Rapid Spanning Tree Protocol (RSTP) but did not exist in legacy 802.1D STP? (Choose two.)

Hard
27

You 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?

Medium
28

Which TWO commands can be used to view spanning tree information on a Juniper EX Series switch? (Choose two.)

Easy
29

Which THREE statements describe the function of the Designated Port in RSTP? (Choose three.)

Medium
30

An 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?

Hard
31

Which RSTP port role replaces the legacy STP blocking and listening port states to provide rapid convergence?

Easy
32

Which TWO parameters are included when a Junos switch calculates the MST configuration digest? (Choose two.)

Medium
33

You 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?

Medium
34

Which command allows you to verify whether a specific interface on an EX Series switch is operating as an edge port?

Easy
35

Which command is used to display comprehensive spanning tree status, including port roles, states, and priorities across all interfaces on an EX Series switch?

Easy
36

Which TWO actions occur when you configure an interface as an edge port in RSTP? (Choose two.)

Easy
37

An administrator implements MSTP and wants to configure a maximum hop count of 20 for instance 1. Which configuration command is used in Junos OS?

Hard
38

You 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?

Medium
39

An enterprise network uses MSTP. What is the function of the Internal Root in an MST region?

Hard
40

Which command allows an operator to view the designated root bridge identifier and port roles for all active VLANs under RSTP?

Easy
41

An administrator configures link aggregation (ae0) using LACP between two EX Series switches running RSTP. How does RSTP treat the aggregated interface ae0?

Hard
42

What is the primary benefit of enabling edge port configuration on switch access ports connected to end devices?

Easy
43

While 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?

Medium
44

Which TWO operational commands are useful for troubleshooting MSTP configuration mismatches and instance status on Junos switches? (Choose two.)

Hard
45

What action does the 'set protocols rstp max-age <seconds>' command perform on a Juniper switch?

Easy
46

An 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?

Hard
47

You 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?

Medium
48

An 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?

Easy
49

Which TWO statements are correct regarding the operation of MSTP instance 0 (CIST)? (Choose two.)

Hard
50

In 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?

Easy
51

While 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?

Hard
52

Which TWO statements are true regarding loop protection in RSTP? (Choose two.)

Easy
53

You 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?

Medium
54

What is the role of the Root Port in an RSTP topology?

Easy
55

When configuring MSTP, what purpose does the regional configuration digest serve?

Hard
56

You 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?

Medium
57

You are configuring MSTP and want to assign VLANs 10 through 50 to MST instance 2. Which configuration hierarchy is correct in Junos OS?

Medium
58

Which THREE states are defined in Rapid Spanning Tree Protocol (RSTP)? (Choose three.)

Medium

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.
juniper-jncis-ent JUNIPER-JNCIS-ENT spanning tree Practice Questions