Network automation in practice lab 10 of 11
Troubleshooting tickets - the network is red
Three tickets in Fenwick Rail's core, worked with the team's own tooling: acceptance tests and a compliance check point at the symptoms, git history tells data mistakes from device mistakes, and each fault is fixed in the right place, the data or the device, without the tools making things worse.
Run this lab
It needs Standard: its 4 nodes are set to 5 vCPU and 8,192 MB in total. It is ready about 15 minutes after you start it. It starts already set up, with nothing to paste before the first task.
In your workspace: Shared, then Network Automation in Practice - multi-vendor professional guided labs, then 10 - Troubleshooting tickets - the network is red
Run it on Standard from £5 a day
- About 15 min to be ready
- About 70 min of tasks
- Level
- Advanced
- How you work
- CLI-led
- Nodes need
- 5 vCPU, 8,192 MB
- Smallest plan
- Standard
The scenario
Monday morning at Fenwick Rail. The weekend's on-call engineer left three tickets, and the nightly test run is red. You have the team's tools in /root/lab: test_network.py (acceptance tests from sot.yaml), drift.py (compliance of the managed sections, with --fix), render.py and deploy.py. All of them work. Your job is to close the tickets so that the tests pass, fixing each fault where it really is.
Start-up and waits. Click Start all. Each device boots straight into the state the weekend left. eos1 answers after about 3 minutes, r1 after about 4, srx1 after about 5; BGP settles a minute later. Read the tickets and
git logwhile they boot. Measured on our servers: the whole lab was ready for its first task about 15 minutes after Start all, with every device booted.
How to work. For each ticket: run the tests and the compliance report, write down what they say, decide whether the data or the device is wrong, then fix it in that place. drift.py --fix makes devices match the data, so run it only once you trust the data. The hints give a method first; the cause is behind a second hint.
What you’ll practise
- Start every ticket from the acceptance tests and the compliance report
- Decide whether the data or the device is wrong before remediating
- Use git history to find and revert a bad data change
- Find faults outside the managed sections that compliance can't see
- Close each ticket with a passing test run
The tasks
- Ticket INC-4502: "Monitoring can't reach Leeds edge's loopback from Carlisle"
- Ticket INC-4505: "Nightly tests red since the Monday data tidy-up"
- Ticket INC-4507: "York to Leeds BGP session down"
- Close-out
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
- devbox
eth0to Mgmt (network) - r1
Gi0/0to Mgmt (network) - eos1
Management1to Mgmt (network) - srx1
fxp0to Mgmt (network) - r1
Gi0/1to eos1Ethernet1 - r1
Gi0/2to srx1ge-0/0/0 - eos1
Ethernet2to srx1ge-0/0/1
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| devbox | CloudLabBox code workstation (Docker) | CloudLabBox’s own workstation image, with a browser code editor | 1 vCPU, 2,048 MB |
| r1 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| eos1 | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 MB |
| srx1 | Juniper vSRX NextGen template | vsrxng-24.4R1.9 | 2 vCPU, 3,584 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
Network Automation in Practice - multi-vendor professional guided labs.Open
10 - Troubleshooting tickets - the network is redand 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 Network automation in practice labs
All Network automation in practice labs
CloudLabBox is independent of Arista Networks, Cisco, Fortinet, Juniper Networks and Palo Alto Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.