Expert · Troubleshooting and the CCNA exam · topic 54 of 57 · 25 min
A structured troubleshooting method
Explanation
Why use a method?
When users shout that "the network is down", it is tempting to start changing things: reboot the switch, change a cable, edit an ACL. Random changes waste time, can create new faults, and even when the problem goes away you do not know which change fixed it. A method keeps you calm and gives your manager clear updates.
The steps
- Define the problem: who is affected, what exactly fails, since when, and what changed. "Billing PCs on floor 2 cannot open the billing server since 10:15; other floors are fine" is a good definition; "network slow" is not.
- Gather facts: ask users, look at the network diagram, run ping and show commands, read the logs.
- Analyse: compare the facts with how the network should work (the baseline and the documentation).
- Eliminate: rule out what is clearly working. If the PC can ping its gateway, the cable, the access port VLAN and the PC's IP settings are probably fine.
- Propose a hypothesis: the most likely cause, for example "the trunk to the floor 2 switch does not carry VLAN 30".
- Test the hypothesis: check it with a command, then make ONE change. If it does not help, undo it and test the next hypothesis.
- Solve: apply the fix, confirm with the users that everything works, and save the configuration.
- Document: write down the symptom, the cause, the fix and the time, and update the diagram if it changed.
Where to start: the approaches
| Approach | How it works | Good when |
|---|---|---|
| Bottom-up | Start at layer 1 (cables, lights) and move up the OSI model | You suspect a physical problem, or the fault is complex |
| Top-down | Start at the application (layer 7) and move down | Only one application fails, such as email or the billing software |
| Divide and conquer | Start in the middle, usually layer 3 with ping, then go up or down depending on the result | Most everyday faults: it is the fastest general approach |
| Follow the path | Trace the route the traffic takes, device by device, with traceroute and show commands | Traffic crosses several switches, routers or firewalls |
| Compare configurations | Compare the broken device with a similar working one | You have many similar devices, such as branch routers |
| Swap components | Replace a suspect part, like a cable, port or SFP, with a known good one | You suspect hardware and have spares |
Divide and conquer is popular because one ping answers a lot. If a PC can ping a remote server by IP, layers 1 to 3 work end to end, so the problem is higher up, perhaps DNS or the application. If the ping fails, the problem is at layer 3 or below, and you move down.
Worked example: the hospital billing PCs
At a hospital in Lucknow, the six PCs at the billing counter cannot reach the billing server at 10.10.50.20. The pharmacy and the wards can.
- Define: only billing PCs (VLAN 30, 10.10.30.0/24) are affected, since this morning. A change ticket shows the floor switch was replaced last night.
- Gather facts: the PCs have correct DHCP addresses and gateway 10.10.30.1. ping 10.10.30.1 fails from every billing PC. A PC in the pharmacy VLAN on the same switch works.
- Eliminate: one PC could have a bad cable, but six PCs failing together points to something they share: the VLAN path.
- Hypothesis: the new switch's uplink trunk does not allow VLAN 30.
- Test: show interfaces trunk on the new switch lists VLANs allowed: 1,10,20,40. VLAN 30 is missing.
- Solve: switchport trunk allowed vlan add 30 on the uplink. The PCs can now ping the gateway and open the billing software. Save with copy running-config startup-config.
- Document: cause, fix and a note to add the VLAN check to the switch replacement checklist.
Baselines and documentation
A baseline is a record of what normal looks like: normal CPU load, link usage, number of OSPF neighbours, response times. Without it you cannot tell whether 70 percent CPU is a problem or just Monday morning. Documentation includes a network diagram (physical and logical), an IP addressing plan, VLAN lists, and saved copies of the configurations. When the diagram is out of date, every fault takes longer to find.
Change management
Many outages start with a change. Change management is the process for making changes safely: write down what will change and why, get it approved, do it in an agreed window (often at night), have a rollback plan, and test afterwards. When something breaks, the first useful question is always "what changed?".
Need help?
Stuck on a word or an idea? Search this course, or every course, and jump straight to the explanation or a worked question.
Try:
Watch the lesson
A structured troubleshooting method · 1/8
In this lesson you will learn to troubleshoot with a method, instead of guessing.
Prefer a video by a teacher? Find free videos on “network troubleshooting methodology top down bottom up divide and conquer CCNA” on YouTube ↗
In real life: A BPO floor loses its voice calls
At a BPO in Gurugram, 120 agents on one floor suddenly cannot make calls, but web browsing still works. The engineer defines the problem (one floor, voice only, since 14:05), checks the change log, and finds that a new QoS policy was applied to the floor's uplink at 14:00. Comparing it with another floor's configuration shows a wrong ACL in the voice class. She removes the new policy (the rollback plan), calls work again within ten minutes, and the fixed policy is re-applied that night after testing.
Practice (0/3 done)
Users can ping the email server by IP address but Outlook will not connect. Using divide and conquer, what do you conclude first?
Which is the best problem definition?
Write a short troubleshooting report for this case: at a hospital, the billing PCs cannot reach the billing server. Use the eight steps of the method. You may invent realistic facts (VLANs, addresses, commands and their output).
Quick quiz
Read more (free)
Related help
Before this, learn
This topic builds on these. If something here feels new, open them first.
Related topics
- Troubleshooting tools and common faultsTroubleshooting and the CCNA exam · same module
- The CCNA 200-301 exam and your study planTroubleshooting and the CCNA exam · same module
- Networking careers in India and beyondTroubleshooting and the CCNA exam · same module
- Divide and conquerData Structures and Algorithms (DSA) for interviews · Recursion and backtracking
- Debugging and performanceKotlin and Android App Development · Testing Android apps
- The ML workflow end to endData Science, Machine Learning and AI · The ML workflow, regression and classification
Questions people ask about this
Open a question to see the answer and why. The first ones are this topic's own quiz, so try the quiz above before you peek.
Which approach starts by checking cables and link lights?
Answer: Bottom-up
Bottom-up starts at layer 1, the physical layer, and works upwards.
Why should you change only one thing at a time?
Answer: So you know which change fixed or broke something
With one change at a time you can see its effect, and undo it if it did not help.
What is a network baseline?
Answer: A record of normal performance and behaviour to compare against
A baseline shows what normal looks like, so you can spot what is abnormal during a fault.
Thirty branch routers are configured from one standard. One branch fails. Which approach is quick here?
Answer: Compare its configuration with a working branch router
When similar working devices exist, comparing configurations quickly shows what is different.
What is the last step of the troubleshooting method?
Answer: Document the problem, cause and fix
Documenting helps the next person, keeps diagrams up to date and builds a history of faults.
An interface is down/down. What is the most likely cause?Related
Answer: A physical problem such as an unplugged or broken cable
down/down means no physical link. administratively down would mean shutdown.
A PC shows no link light on its network port. Which layer should you check first?Related
A PC can ping 8.8.8.8 but not www.irctc.co.in. What is the most likely problem?Related
Answer: DNS
Reaching an IP address proves routing works. Failing on a name points to name resolution (DNS).
What are the three steps of divide and conquer?Related
Answer: Divide into parts, solve each part recursively, combine the answers
Divide splits the input, conquer solves smaller copies, combine builds the full answer.
From Divide and conquer
Pass the quiz (60% or more) or mark this topic as done when you are ready.
Your progress is saved on this device only.
Next steps
- 3 more topics in “Troubleshooting and the CCNA exam” before its exam: Troubleshooting tools and common faults, The CCNA 200-301 exam and your study plan, Networking careers in India and beyond.
- Module 12 exam: Troubleshooting and the CCNA exam · 13 questions · 20 min, without help. 4 topics of this module still to finish first.
- 57 topics left in the course before the final exam.