A simulated CLI for this lab — click a switch, the router, or a PC, type the commands, and watch the pings come back only when the fault is really fixed. The lab starts broken on purpose: four faults are already in the config, and the steps repair them one at a time. This models Lab 14’s commands only, not real devices: unsupported commands say so instead of faking it. Type ? for help and use Tab to complete a command.
Microsoft Windows [Version 10.0.19045.0]
(c) Microsoft Corporation. All rights reserved.
Up/down arrows recall commands. The full command list is in the walkthrough below.
Interactive lab
Lab 14 — Troubleshooting
A working network that somebody broke in four places: a host in the wrong VLAN, a trunk shut down, a native VLAN mismatch, and a gateway that was never built. Diagnose each fault from the symptoms, then repair it.
Click a device to open its console, type the real commands, and check your work when you think it’s done. The lab checks each step as you go.
Walkthrough — commands in order
This lab starts broken on purpose. Somebody changed four things in a working network — a host in the wrong VLAN, a trunk shut down, a native VLAN mismatch, and a gateway that was never built — and the users just know "the network is down". Your job is the structured method from the pack: define the problem, gather facts, form a hypothesis, test it, fix it, verify the fix, and document what you found. Each step below is one fault, with the symptom first and the repair second — the show commands are the gathering, the ping is the test.
PC-A 10.10.10.10 ── Fa0/1 [SW1] Gi0/1 ════ G0/0 [R1] G0/0.10 10.10.10.1
PC-B 10.10.20.10 ── Fa0/3 [SW1] trunk G0/0.20 10.10.20.1 (missing)
PC-C 10.10.10.11 ── Fa0/1 [SW2] Gi0/2 ════ Gi0/2 [SW1]
VLAN 10 Eng — 10.10.10.0/24 · VLAN 20 Sales — 10.10.20.0/24 · Native VLAN 199
The lab starts with four faults already in the config (see the steps). Everything else is already configured.Where this shows up in the data center
This is the job, most days. A provisioned host that can’t reach its gateway, a link that went quiet after a change, a path that works for one VLAN and not another — the first move is always the same: narrow it down with a show command before touching anything. I do the same in the data center — LLDP neighbor first, optics second, routing table third — because a fix applied to the wrong layer is just a second fault. The method here is the one from the pack (define the problem, gather facts, hypothesize, test, fix, verify, document), and the DNS story in the pack is the same shape: a shut interface on R2, the wrong name-server on R3, and a DNS service that was never turned on — three small faults, one "DNS is down".
SW1(config)# interface fa0/1 SW1(config-if)# switchport mode access SW1(config-if)# switchport access vlan 10
After this step PC-A can reach PC-C, but still not its gateway — that split tells you the next fault is past the switch, not on PC-A’s port.
SW1(config)# interface gi0/1 SW1(config-if)# no shutdown
"show interfaces trunk" lists Gi0/1 even while it is shut down — it shows the configuration, not the state. "show interfaces status" is the command that shows disabled. Trust the status, not the trunk list.
SW2(config)# interface gi0/2 SW2(config-if)# switchport trunk native vlan 199
On a real switch CDP would also report the mismatch. Fixing it here changes no ping — that is the lesson: some faults are silent until you compare both ends.
R1(config)# interface g0/0.20 R1(config-subif)# encapsulation dot1Q 20 R1(config-subif)# ip address 10.10.20.1 255.255.255.0
PC-B’s gateway (10.10.20.1) only answers once the encapsulation and the address are both set. If you set the address first, the subinterface stays down until the encapsulation lands.
C:\> ping 10.10.10.1 C:\> ping 10.10.20.10 C:\> ping 10.10.10.11
Run these from PC-A. If one fails, the step it tests is the one to re-open — the pings are named by the fault they prove.
Verify it worked
Don’t trust the config until a show command proves it. These are the outputs you should see — if yours differ, that’s the troubleshooting.
SW1# show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/2, Fa0/4 10 Eng active Fa0/1 20 Sales active Fa0/3 199 Native active 1002 fddi-default act/unsup 1003 token-ring-default act/unsup
SW1# show interfaces trunk
Port Mode Encapsulation Status Native vlan Gi0/1 on 802.1q trunking 199 Gi0/2 on 802.1q trunking 199 Port Vlans allowed on trunk Gi0/1 10,20 Gi0/2 10 Port Vlans allowed and active in management domain Gi0/1 10,20 Gi0/2 10
SW2# show interfaces trunk
Port Mode Encapsulation Status Native vlan Gi0/2 on 802.1q trunking 199 Port Vlans allowed on trunk Gi0/2 10 Port Vlans allowed and active in management domain Gi0/2 10
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 unassigned YES unset up up GigabitEthernet0/0.10 10.10.10.1 YES manual up up GigabitEthernet0/0.20 10.10.20.1 YES manual up up
PC-A: ping 10.10.20.10 (final)
Pinging 10.10.20.10 with 32 bytes of data:
Reply from 10.10.20.10: bytes=32 time<1ms TTL=128
Reply from 10.10.20.10: bytes=32 time<1ms TTL=128
Reply from 10.10.20.10: bytes=32 time<1ms TTL=128
Reply from 10.10.20.10: bytes=32 time<1ms TTL=128
Ping statistics for 10.10.20.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0msCheck yourself
Three questions from the exam angle. Tap to reveal the answer — say it out loud first.
Q1. PC-A can ping PC-C but not its gateway. Where is the fault — and why does that split prove it?
Q2. The native VLANs mismatch, but every ping still works. Is it actually a fault?
Q3. What is the order of the troubleshooting method, and which step do most people skip?