Back to Blog
Tutorial••8 min

Troubleshooting Course Labs: 3 Planted Faults, Each Proved

One prompt built a CCNP troubleshooting course lab on Cisco and Arista routers, planted three faults as separate files and proved each one on the routers: healthy, broken the way a student sees it, fixed, healthy again. A second prompt added IPv6 and proved all three again. The faults, the CLI output and the package.

D
David Kim
Technical Marketing Engineer
The Blueprint Changed: Rebuild and Re-Test a Cisco and Arista Course Lab in Minutes · Watch on YouTube

A troubleshooting course lab is only as good as its faults. Each one has to break the lab the way the lesson says, show a symptom a student can find, and go away with the reference fix, on the exact versions your cohort will run. Proving that by hand is most of the work: industry estimates put course development at 43 hours for every hour of instructor-led training, and 82 on complex custom courses (Chapman Alliance). This post runs the whole job from one prompt in NetPilot. The agent built the lab on real Cisco and Arista routers, planted three faults, proved each one on the routers' own CLIs and saved the package. Then the blueprint changed, and a second prompt proved it all again.

The lab a bootcamp asked for

Six nodes in a chain: a student PC behind R1 (Cisco IOL), R2 (Arista cEOS) in the middle, EDGE (Cisco IOL, AS 65010) peering eBGP with the provider ISP (Arista cEOS, AS 64500), and an internet host behind it. OSPF area 0 runs on R1, R2 and EDGE over point-to-point links. EDGE takes a default route from the provider and advertises the company LAN, 10.10.10.0/24.

Troubleshooting course lab ccnp-tshoot-ospf-ebgp-01: PC1, R1 (Cisco IOL), R2 (Arista cEOS), EDGE (Cisco IOL, AS 65010), ISP (Arista cEOS, AS 64500) and INET in a chain, OSPF area 0 inside and eBGP to the providerTroubleshooting course lab ccnp-tshoot-ospf-ebgp-01: PC1, R1 (Cisco IOL), R2 (Arista cEOS), EDGE (Cisco IOL, AS 65010), ISP (Arista cEOS, AS 64500) and INET in a chain, OSPF area 0 inside and eBGP to the provider. PC1: 10.10.10.10/24. R1: Cisco IOL, Lo 10.255.0.1. R2: Arista cEOS, Lo 10.255.0.2. EDGE: Cisco IOL, AS 65010. ISP: Arista cEOS, AS 64500. INET: 203.0.113.10. PC1 connects to R1 Et0/1 .1. R1 Et0/2 10.0.12.1 connects to R2 Et1/1 10.0.12.2, OSPF. R2 Et1/2 10.0.23.1 connects to EDGE Et0/1 10.0.23.2, OSPF. EDGE Et0/2 198.51.100.2 connects to ISP Et1/1 198.51.100.1, eBGP. ISP Et1/2 203.0.113.1 connects to INET.Et0/1.1Et0/210.0.12.1Et1/110.0.12.2OSPFEt1/210.0.23.1Et0/110.0.23.2OSPFEt0/2198.51.100.2Et1/1198.51.100.1eBGPEt1/2203.0.113.1PC110.10.10.10/24R1Cisco IOLLo 10.255.0.1R2Arista cEOSLo 10.255.0.2EDGECisco IOLAS 65010ISPArista cEOSAS 64500INET203.0.113.10
OSPF area 0 on R1, R2 and EDGE, point-to-point on every routed link. EDGE advertises 10.10.10.0/24 to the provider and takes a default route back.

Two vendors on purpose: a CCNP student meets more than one CLI at work, and a fault between a Cisco and an Arista router is a better lesson than one inside a single vendor.

The prompt

We typed this into NetPilot, word for word:

I build course labs for a CCNP bootcamp. Build a troubleshooting lab on Cisco and Arista routers: OSPF inside, eBGP to a provider, two hosts. Plant three faults, easy to hard, each as its own file I can apply to the clean lab. Prove each fault on the routers: clean lab healthy, fault applied with the symptom a student sees, the reference fix, healthy again. Then save the package: topology, clean configs, the three fault files, the checks and the answer key.

The course lab prompt in the NetPilot chat: a CCNP troubleshooting lab on Cisco and Arista routers with three planted faults, each proved on the routers, and the package saved

The prompt gave no addresses, no fault ideas and no checks. The agent planned the addressing, wrote the configs for both vendors, deployed the lab and wrote 7 checks, C1 to C7: OSPF neighbors on R1 and R2, the default route on R1, the eBGP session and the advertised prefix on EDGE, the prefix as the provider sees it, and a ping both ways between the hosts.

How each fault was proved

Every fault went through the same four steps, with all 7 checks run in each phase: the clean lab, the fault applied, the reference fix, and clean again. That is 7 phases in one pass, and the agent drew them as one card.

NetPilot's proof card for the IPv4 lab: 7 phases run, 7 checks per phase, eBGP uptime grew 346 s over the 346 s pass, all 3 faults proven, and a bar per phase with the clean and fixed phases at 7 PASS

Clean and fixed phases passed 7 of 7. The easy fault failed 6 checks, the medium one 3, the hard one 4. One more number matters to a course author: the eBGP session's uptime grew by exactly the length of the pass, 346 seconds, so no fault and no fix reset it. A student who finds the problem never fights a side effect of the lab.

Fault 1, easy: an OSPF area mismatch across vendors

The fault file moves R2's link to R1 into area 0.0.0.1 while R1 stays in area 0:

Cisco IOS
! F1 (easy) - FAULT - apply to the CLEAN lab
! Device: R2 (Arista cEOS)
configure
router ospf 1
 no network 10.0.12.0/30 area 0.0.0.0
 network 10.0.12.0/30 area 0.0.0.1
end

What the student sees on R1, the Cisco side: no OSPF neighbor and no default route. The clue sits in the OSPF traffic counters.

Cisco IOS
R1#show ip ospf neighbor
R1#show ip route 0.0.0.0
% Network not in table
R1#show ip ospf traffic Ethernet0/2 | include Area
  Area Mismatch 15, No Sham Link 0, Self Originated 0,

The reference fix puts the network back in area 0.0.0.0, and all 7 checks pass again.

Fault 2, medium: a BGP network statement with no mask

On EDGE the fault drops the mask from the network statement. IOS reads it as the classful network, which is not in the routing table, so nothing is advertised.

Cisco IOS
router bgp 65010
 address-family ipv4
  no network 10.10.10.0 mask 255.255.255.0
  network 10.10.10.0

The trap for the student is that the session looks fine. It stays Established with 3 prefixes received, and only the outbound side is empty:

Cisco IOS
EDGE#show ip bgp neighbors 198.51.100.1 advertised-routes
 
Total number of prefixes 0
EDGE#show ip bgp 10.10.10.0/24
BGP routing table entry for 10.10.10.0/24, version 12
Paths: (0 available, no best path)
  Not advertised to any peer

network 10.10.10.0 mask 255.255.255.0 brings back Total number of prefixes 1.

Fault 3, hard: an OSPF network type mismatch between Arista and Cisco

The hard one removes one line on R2, the Arista side of the link to EDGE:

Cisco IOS
interface Ethernet1/2
 no ip ospf network point-to-point

Now R2 runs that link as broadcast while EDGE stays point-to-point. Every neighbor still reaches FULL, which is what makes it hard:

Cisco IOS
R2#show ip ospf neighbor
Neighbor ID     Instance VRF      Pri State     Dead Time   Address     Interface
10.255.0.1      1        default  1   FULL      00:00:30    10.0.12.1   Ethernet1/1
10.255.0.3      1        default  1   FULL      00:00:36    10.0.23.2   Ethernet1/2
R2#show ip ospf interface Ethernet1/2 | include Network Type
  Network Type Broadcast, Cost: 10

The symptom shows up on EDGE: the adjacency is up, but it has no OSPF routes at all, only the default from the provider.

Cisco IOS
EDGE#show ip ospf interface Ethernet0/1 | include Network Type
  Process ID 1, Router ID 10.255.0.3, Network Type POINT_TO_POINT, Cost: 10
EDGE#show ip route ospf | begin Gateway
Gateway of last resort is 198.51.100.1 to network 0.0.0.0

A student has to compare the two ends of one link on two vendors' CLIs to see it. ip ospf network point-to-point on R2 gives EDGE its 4 OSPF routes again.

The package your platform hosts

When the proof passed, the agent saved the package in the lab's workspace: the containerlab topology, the clean configs for R1, R2, EDGE and ISP, a fault file and a fix file for each fault, the checks with what a pass looks like, and the answer key with the proof table.

NetPilot's Lab Context panel with the F2 medium fault file open: which device, what the fault does, the IPv4-only note and the configuration lines, beside the proof card

Every fault file says which device it goes on, what it breaks and how to apply it, so an instructor can load any fault into a clean lab in seconds. These are plain files. Your lab platform hosts them, and every cohort gets the identical, tested lab.

The blueprint changes: IPv6 in a second prompt

Then the update every course team dreads. We typed:

The blueprint now adds IPv6. Add IPv6 and OSPFv3 to the clean lab, keep the three faults, and prove all three again.

About 13 minutes later the dual-stack lab was running with 14 checks per phase, C8 to C14 for IPv6, and all three faults proved again.

NetPilot's dual-stack proof: 14 checks per phase, 0 of 49 IPv6 checks failed, eBGP uptime grew 392 s over 392 s, all 3 faults reproduced, fixed and back to clean, with the package files in the Lab Context panel

The fault files did not change, and they break IPv4 only: 0 of 49 IPv6 checks failed across the 7 phases. The agent did not hide that. It made it the lesson: students now see "IPv4 is broken, IPv6 works", so the first step is to split the problem by address family. The answer key came out as a second version, with the IPv4-only key kept for the record.

The dual-stack answer key v2 open in NetPilot's Artifacts panel, marked instructor only, built and proven on Cisco IOL 17.12.1 and Arista cEOS-lab 4.36.1F, beside the dual-stack proof card

What a training team does with it

The agent builds and proves the lab. You keep everything else: the course, the hosting, the scoring and the students. The same workflow covers labs on vendors other than Cisco and automation course labs, and it runs on the real network operating systems your students will meet. Every router has its own CLI, so your lab developer can type any check by hand.

For course teams, this is what NetPilot for training providers sells: your course labs built, proved and handed over as files. More labs in the same family: the troubleshooting interview lab, OSPF across Cisco, Nokia and Arista, BGP peering across three vendors and a dual-stack IPv6 lab.

Copy-paste ready: the two prompts from this run, and the lab package with the fault files and the answer key to run in containerlab yourself.

Open the prompt in NetPilot

FAQ

How do you build a troubleshooting lab with planted faults for a course?

Build the clean lab first and record the checks a healthy lab passes. Then write each fault as its own file that applies to the clean lab, and prove it: the clean lab passes, the fault applied gives the symptom a student will see, the reference fix brings it back, and every check passes again. In our run one prompt did all of it on Cisco and Arista routers in about 18 minutes, three faults included, and saved the package.

How do you test that a planted fault really breaks the lab?

Run the same checks in every phase and read the symptom on the router a student would log in to. Our lab ran 7 checks in 7 phases: clean, then each fault applied and fixed. The easy fault failed 6 of 7 checks, the medium one 3 and the hard one 4, and every clean and fixed phase passed 7 of 7.

What should a course lab package include?

The topology file, the clean configs, one fault file and one fix file per fault, the checks with what a pass looks like, and the answer key with the proof for each fault. Those files are what your lab platform hosts and what every cohort gets, identical, so the lab a student opens is the lab you tested.

How do you update course labs when the exam blueprint changes?

Change the clean lab, keep the fault files, and prove every fault again on the new version. In our run the blueprint added IPv6: a second prompt added IPv6 and OSPFv3, raised the checks from 7 to 14 per phase and proved all three faults again in about 13 minutes. The faults still broke IPv4 only, and 0 of 49 IPv6 checks failed, which the agent turned into a teaching point.

What network lab do you want to build?

NetPilot takes you from one prompt to a runnable network lab with CLI access.

Running this for a team? See NetPilot for teams