JNCIS-ENT lab 4 of 17
Spanning tree with STP and RSTP
Three switches in a triangle: a loop that only spanning tree keeps safe. You find the root bridge the protocol chose by itself, put the root where the design wants it, steer a port role with path cost, and time a failure with RSTP and with classic STP.
Run this lab
It needs Standard: its 3 nodes are set to 12 vCPU and 15,360 MB in total.
In your workspace: Shared, then JNCIS-ENT JN0-352 guided labs, then 04 - Spanning tree with STP and RSTP
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 12 vCPU, 15,360 MB
- Smallest plan
- Standard
The scenario
Ashby Freight's warehouse network has two core switches and an access switch, cabled in a triangle so that any single link can fail. A triangle is a loop, and only spanning tree stops frames circling it for ever. RSTP is running with default settings, so the switches have chosen a root bridge by themselves. The design wants CORE1 as the root, CORE2 as the backup root, and ACCESS's uplink to CORE1 as the forwarding path.
Each switch has an IRB address in VLAN DATA (10.10.10.1, .2 and .3) for testing.
What you’ll practise
- Explain why a switched loop needs spanning tree, and what BPDUs carry
- Predict the root bridge from bridge IDs, and set bridge priorities
- Identify root, designated, alternate and backup ports and the discarding, learning and forwarding states
- Change the topology with interface cost
- Configure STP and RSTP and compare their convergence after a failure
The tasks
- Why spanning tree, and what it decided
- Roles and states
- Put the root where the design wants it
- Path cost
- RSTP convergence
- The same failure with classic STP
- BPDUs on the wire
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- CORE1
ge-0/0/0to CORE2ge-0/0/0 - CORE1
ge-0/0/1to ACCESSge-0/0/0 - CORE2
ge-0/0/1to ACCESSge-0/0/1
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| CORE1 | Juniper vJunos-switch | vjunosswitch-23.4R2-S2.1 | 4 vCPU, 5,120 MB |
| CORE2 | Juniper vJunos-switch | vjunosswitch-23.4R2-S2.1 | 4 vCPU, 5,120 MB |
| ACCESS | Juniper vJunos-switch | vjunosswitch-23.4R2-S2.1 | 4 vCPU, 5,120 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
JNCIS-ENT JN0-352 guided labs.Open
04 - Spanning tree with STP and RSTPand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More JNCIS-ENT labs
Related labs in other courses
CloudLabBox is independent of Juniper Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.