AP Networking • CLI artifact lab

Network CLI Output Practice: Turn Command Output Into Defensible Evidence

Reading a command is different from knowing its name. These cases train you to identify the decisive line, state exactly what it proves, avoid the conclusion it cannot support, and choose the next command that most efficiently reduces uncertainty.

Independent AP Networking resource • Updated 2026-09-09 • Free practice and digital flashcards
Free CLI evidence deck: 24 interactive flashcards covering ipconfig, ping, nslookup, tracert, ARP, route tables, netstat, and evidence boundaries.
Start Free Flashcards
Practice method

CLI skill is not remembering commands—it is knowing which uncertainty each command can reduce

A command becomes useful when you can explain why its output changes the diagnosis. The strongest workflow is: identify the unresolved question, predict what evidence would separate the leading causes, run the narrowest useful command, then state both what the result supports and what remains unproven.

1. ObserveQuote the decisive field, reply, timeout, mapping, route, or socket state.
2. BoundState exactly what that observation can support.
3. CompeteKeep alternative explanations that still fit the evidence.
4. DiscriminateChoose the next command whose outcomes separate those alternatives.

This page deliberately includes outputs that look reassuring but do not prove the application works. That is where command interpretation becomes troubleshooting rather than memorization.

Case 1 • Host configuration

APIPA is not “the Internet is down”—it moves the failure boundary toward address configuration

Ethernet adapter Ethernet:
   IPv4 Address. . . . . . . . . . : 169.254.72.19
   Subnet Mask . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . :

The decisive evidence is the 169.254/16 link-local address plus the missing gateway. In a scenario where the client is expected to receive a normal routed lease, this strongly supports a DHCP/configuration branch. It does not identify the exact cause. The DHCP server could be unreachable, the client could be in the wrong VLAN, a relay could be missing, a scope could be exhausted, or client state could be wrong.

Low-value next move: querying a public hostname. The client does not yet show the expected Layer 3 prerequisites. Higher-value evidence: compare a working peer's subnet/VLAN, inspect DHCP state, or trace the DHCP path. Continue with Cannot Get a DHCP Address.

Case 2 • Configuration contradiction

A valid private address can still contain an impossible gateway relationship

IPv4 Address : 10.20.8.70
Subnet Mask  : 255.255.255.192
Gateway      : 10.20.8.1

A /26 creates blocks of 64 addresses. 10.20.8.70 belongs to 10.20.8.64/26, with ordinary host addresses .65 through .126. The listed gateway, 10.20.8.1, is outside that local subnet. The important skill is not merely recognizing “private IP.” It is checking whether the fields agree with each other.

This output does not tell you whether the address, mask, or gateway is the incorrect field. Compare the intended subnet plan or a known-good host before changing anything. That distinction prevents a technically possible calculation from becoming an unsupported configuration guess.

Reading command output accurately requires more than recognizing fields and values. Students must also resist conclusions the command never established. A ping reply, ARP entry, route, DNS response, interface counter, or listening port each has a different evidence ceiling. Use Network Evidence That Looks Like a Problem but Isn't alongside these CLI exercises to practice distinguishing the literal observation from the larger diagnosis.

Case 3 • Layered controls

Gateway success plus remote numeric-IP success moves the boundary beyond basic local routing

> ping 10.30.4.1
Reply from 10.30.4.1: time=1ms TTL=64

> ping 203.0.113.20
Reply from 203.0.113.20: time=24ms TTL=51

> nslookup portal.example
DNS request timed out.
Server: 10.30.2.53

The first ping supports local next-hop reachability for ICMP. The second supports routed numeric-IP reachability to that tested remote target. The DNS query then fails to receive a response from the configured resolver. Together, these results make a DNS-specific branch far more informative than restarting the network adapter.

Do not overstate the result as “the DNS server is down.” A timeout can reflect resolver service, reachability, filtering, or another DNS-path issue. A strong next comparison is querying the intended resolver directly and comparing the same query from a working client.

Case 4 • DNS success boundary

Correct name resolution does not test the service that uses the returned address

> nslookup app.campus.example
Name:    app.campus.example
Address: 10.60.20.15

> ping 10.60.20.15
Reply from 10.60.20.15: time=2ms TTL=62

The lookup returned an address and ICMP received a reply from that address. Neither command tests TCP/443. If the complaint is “HTTPS does not open,” repeating DNS or ping adds little. Test the transport/service boundary, inspect firewall evidence, or verify the server's listener.

This case demonstrates why a successful command is not automatically a successful application. Each protocol has an evidence boundary.

Case 5 • Local service state

netstat can move an HTTPS failure from the network path to the server itself

C:\> netstat -ano | findstr :443

C:\> netstat -ano | findstr :80
TCP    0.0.0.0:80    0.0.0.0:0    LISTENING    4180

No matching TCP/443 listener appears, while TCP/80 is listening. If the requirement is HTTPS on 443, verify the local web service, TLS binding, and expected listening address before modifying a transit firewall.

The absence is still contextual evidence: command filters, permissions, platform behavior, or a service bound differently can matter. But this output gives a much stronger local hypothesis than “maybe the router blocks HTTPS.”

Case 6 • ARP evidence

A changing IP-to-MAC mapping is a clue, not an automatic duplicate-IP verdict

Interface: 10.44.8.25
Internet Address      Physical Address
10.44.8.1             00-11-22-33-44-55

[several minutes later]
10.44.8.1             aa-bb-cc-dd-ee-ff

The same gateway IPv4 address is associated with two different MAC addresses at different times. That is worth investigating, especially if failures correlate with the change. But redundant gateway designs can legitimately present changing or virtual MAC behavior.

Before declaring a duplicate IP, determine the intended gateway architecture and use switch MAC-location evidence to identify where each address is learned. Time correlation matters: an ARP cache snapshot without timestamps can mislead.

Case 7 • Traceroute silence

Asterisks in the middle of a completed path are evidence about replies, not proof of failed forwarding

1    1 ms    1 ms    1 ms  10.10.0.1
2    4 ms    4 ms    5 ms  198.51.100.1
3     *       *       *    Request timed out.
4   18 ms   17 ms   18 ms  203.0.113.9
5   21 ms   20 ms   21 ms  203.0.113.25

Later hops and the destination answered, so probes progressed beyond hop 3. Hop 3 may suppress, filter, or rate-limit the diagnostic response while continuing to forward traffic. “Hop 3 is broken” contradicts the later evidence.

Use Traceroute Explained to connect TTL/Hop Limit behavior to what the output can and cannot prove.

Case 8 • Ping failure ambiguity

A timeout is weaker evidence than many students think

> ping 10.70.5.20
Request timed out.
Request timed out.
Request timed out.
Request timed out.

This proves the client did not receive the expected ICMP echo replies during the test. It does not distinguish target-down, ICMP filtering, forward-path failure, return-path failure, or a local configuration problem.

Make the next test comparative. Can the client ping its gateway? Can a working peer ping 10.70.5.20? Does the target's local state show it is online? Does a route lookup predict a valid path? One timeout creates branches; a discriminating comparison removes them.

★ Troubleshooting Practice • Network CLI Output Practice: Turn Command Output Into Defensible Evidence

A five-minute warm-up for Network CLI Output Practice: Turn Command Output Into Defensible Evidence

Tomorrow’s opening question can pick up where this page leaves off: ask students to explain the idea in their own words and apply it to a real network. The 300 Bell Ringers give you short questions and teacher answers you can use without preparing a new starter each morning.

300 AP Networking Bell Ringers
$74.99
BUY TEACHER PACK → See what is included in the 300 Bell Ringers →
Instant Access • Full-Year Teacher Resource
Case 9 • DNS response types

Timeout, NXDOMAIN, and wrong-answer responses lead to different investigations

Observed resultWhat happenedUseful next question
TimeoutNo timely DNS response was receivedCan this resolver/path answer queries?
NXDOMAINA DNS response says the queried name does not exist in that contextIs the name correct and should this resolver know it?
Unexpected addressResolution worked but produced a different value than expectedWhich record/source/cache supplied the answer?
Expected addressName-to-address resolution succeeded for the queryDoes the required transport/application work?

Swipe horizontally to see the full table.

These outputs should not all trigger “flush DNS.” The result type itself tells you which uncertainty remains.

Case 10 • ARP scope

Not seeing a remote server's MAC address can be exactly what routed networking predicts

A client normally uses ARP to resolve IPv4 neighbors on its local link. When sending to a remote subnet, it needs the MAC address of its local next hop—not the MAC address of a server several routers away.

Therefore, “the Internet server is missing from arp -a” is not evidence that ARP failed. The more relevant question is whether the expected local gateway mapping exists and whether that mapping is stable and plausible.

Case 11 • Route evidence

A working default route can coexist with a broken destination-specific route

0.0.0.0/0        via 192.0.2.1
10.90.30.0/24    via 192.0.2.99

203.0.113.8      reachable
10.90.30.25      unreachable

The Internet control can use the default. The failed 10.90.30.25 destination matches the /24 and is therefore captured by the more-specific route. Testing only the default misses the route that actually controls the failed destination.

CLI & Artifact Lab • 120 Missions

Let students try Network CLI Output Practice: Turn Command Output Into Defensible Evidence for themselves

Reading the explanation is a start. In the browser simulator, students work through a broken network, choose what to test and see whether their fix worked. It gives them another chance to use what they learned about Network CLI Output Practice: Turn Command Output Into Defensible Evidence.

AP Networking Browser Troubleshooting Simulator
$29.99
120 Missions • 60 Failure Patterns • Offline Copy
GET THE SIMULATOR → See all 120 missions & features

This is where CLI practice crosses into artifact analysis: the command output must be interpreted according to routing logic, not just read line by line. Practice that skill in Routing Table Analysis Practice.

Case 12 • Cross-artifact contradiction

When two commands disagree with your first hypothesis, trust the evidence chain over the story

ipconfig:
IPv4 Address : 10.40.8.25
Gateway      : 10.40.8.1
DNS Servers  : 10.40.2.53

ping 10.40.8.1:
Reply ... time=1ms

nslookup intranet.example:
Server: 10.40.2.53
Address: 10.40.2.53
Name: intranet.example
Address: 10.80.4.20

If the complaint is “the intranet page does not load,” these outputs weaken two early hypotheses: local gateway failure and basic name-resolution failure. The next test should move toward 10.80.4.20 reachability, TCP service state, or policy. Continuing to renew DHCP ignores evidence already collected.

Cross-artifact reasoning is powerful because one command can establish a control while another isolates the next boundary.

Troubleshooting Exam Practice • Network CLI Output Practice

Check whether Network CLI Output Practice: Turn Command Output Into Defensible Evidence has really stuck

Once students have worked through this topic, give them questions mixed in with the rest of the course. The Exam Prep Vault includes practice exams, multiple-choice questions and artifact labs so they cannot rely on a chapter heading to tell them what to do.

AP Networking Complete Exam Prep Vault
$39.99
GET THE EXAM PREP VAULT → See the Exam Prep Vault contents →
4 Practice Exams • 320 MCQs • 60 Artifact Labs
Command selection matrix

Choose the command that directly exposes the unresolved variable

Unresolved questionHigh-value command/artifactStrong evidenceDo not overclaim
What IP/mask/gateway/DNS is configured?ipconfig /all or platform equivalentHost configuration stateThat configured services are reachable
Can this target return ICMP?pingReply/latency for tested probesThat all ports/apps work
What does this resolver answer?nslookupResolver/query responseThat HTTPS works
Which hops return path diagnostics?tracert/tracerouteResponding-hop sequenceThat every silent hop is broken
What local IPv4 neighbor mappings exist?arp -aNeighbor cache stateRemote routed host MACs
Is the local service listening?netstat or platform socket toolLocal socket/listener stateRemote end-to-end reachability

Swipe horizontally to see the full matrix.

Preserve the evidence

Capture before reset: repair commands can erase the state that explains the failure

Renewing DHCP, flushing DNS, clearing ARP, restarting an interface, or rebooting can change multiple variables at once. Those actions may restore service, but they can also destroy the original lease, resolver, neighbor, socket, or timing evidence.

When practical, record the failing state first. Then make the smallest justified change and capture the after-state. The delta can show mechanism: for example, an APIPA address becomes a valid lease after a VLAN/relay correction, or a missing 443 listener appears after the service binding is fixed.

Free digital flashcards

24 CLI evidence flashcards: command output, boundaries, and next-test reasoning

These cards are built around decisions rather than command definitions. Say what the output proves before revealing the answer, then name one competing explanation that remains possible.

Premium Artifact Reasoning

Spend less time marking explanations about Network CLI Output Practice: Turn Command Output Into Defensible Evidence

When students explain their answer, it takes more than a right-or-wrong check to see what they understand. The Grading Copilot helps you review how they used the clues, where their explanation falls short and what feedback to give next. You make the final grading decision.

AP Networking Artifact Analysis Grading Copilot
$49.99
8 Criteria • 5 Task Modes • Offline Premium Copy
GET THE GRADING COPILOT → See the free Copilot preview
All CLI evidence cards
Click or press Enter/Space to reveal.
Now state the next evidence you would collect.
0 seen•24 cards
Output chronology

The same command can tell a different story when timestamps and change order are preserved

Imagine a user reports intermittent access. An ARP mapping changes at 10:02, gateway ping loss begins at 10:02, and a switch event records a port move at the same time. That correlation is much more useful than three screenshots collected hours apart.

For intermittent failures, preserve timestamps, repeated samples, and known changes. A single successful ping after recovery cannot erase evidence of a prior failure; it describes a different moment.

Controls and deltas

Compare failing output with a working peer when the environment should be equivalent

A working peer can reveal whether the failing host's subnet mask, gateway, DNS resolver, DHCP server, VLAN-derived lease, or route behavior differs. The comparison is strongest when the two systems are expected to share those settings.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach Network CLI Output Practice: Turn Command Output Into Defensible Evidence as part of a planned school year

This page gives you one topic. The 180-Day Teacher Curriculum puts it into a full course plan, with daily teaching notes, student activities and checks for understanding. Use it when you need to know what comes before this lesson and what to teach next.

AP Networking Complete 180-Day Teacher Curriculum
$199.99
180 Lessons • 180 Daily Simulators • 36 Teaching Weeks
GET THE 180-DAY CURRICULUM → See 3 free curriculum examples

Do not copy a peer's values blindly. First decide which fields should match and which should be unique. Two clients should not normally share the same host IP, while they may legitimately share gateway and DNS addresses.

Verification

End the CLI chain by retesting the original requirement, not merely the last command

If the original problem was HTTPS access, a successful ping after repair is incomplete verification. Retest HTTPS. If the problem was DHCP, confirm a valid lease, gateway/DNS values, renewal behavior, and the required network access. If the problem was a missing listener, confirm the service listens and a permitted remote client can connect.

Also preserve a negative or control test when security is involved. A firewall repair should restore authorized traffic without unintentionally allowing traffic that is supposed to remain blocked.

Exam-ready reasoning

Write conclusions in three layers: observation, bounded inference, discriminating next test

Observation: “nslookup to 10.30.2.53 timed out while a remote numeric IP replied.” Bounded inference: “Basic routed numeric-IP reachability works for the tested target, while DNS resolution through the configured resolver remains unresolved.” Next test: “Query that resolver directly from a known-good peer or compare another intended resolver.”

This structure is stronger than “DNS is broken” because it shows exactly how the evidence changed the hypothesis set.

Next practice

Build a command-to-artifact pathway instead of memorizing isolated utilities