Skip to main content

Structured troubleshooting strategies

Troubleshooting is not an exact science: the same problem can be diagnosed in many ways. A structured method still gives continuous progress and usually reaches a solution faster than an ad hoc approach. Their common principle is systematic elimination of hypothetical causes, which narrows the scope of the problem step by step. If the case is handed over, the findings so far remain useful.

No single method fits every case. It is better to know several and pick, or combine, the one that suits the problem.

Source

The six approaches are described in Structured Troubleshooting Approaches (Cisco Press, Troubleshooting Methods for Cisco IP Networks). The sequence diagrams below are my interpretation, modeled in LikeC4 (dynamic views) under likec4/troubleshooting/.

The case study​

Every example uses the same incident: a user cannot open an internal website.

ApproachStarting pointBest fit
Top-downApplication layer (OSI 7)Application symptom, access to the client
Bottom-upPhysical layer (OSI 1)Older estate, hardware faults
Divide and conquerNetwork layer (OSI 3)When top-down vs bottom-up is unclear
Follow the pathActual packet pathLimit scope to the devices in the path
CompareDifference with a healthy referenceFailure after a change
SwapPhysical componentsIsolating an element with little data

Top-down​

Start at the application layer and work down the OSI model. Each layer depends on the ones below it: if a layer works, you can reasonably assume the lower layers work too. The goal is to find the highest layer that still works, then remove every device operating at or below that layer from the scope.

A TCP session on port 80 that succeeds points to a client or application-server problem. It is not formal proof: unfragmented packets can pass while fragmented ones are dropped.

  • Strength: natural, since users report application-level problems.
  • Limit: needs access to the client software, which may be installed on few machines.

Bottom-up​

Start at the physical layer and validate each layer on the way up. Here the workstation cannot even obtain an IP address through DHCP, which points to the lower layers.

  • Strength: everything happens on the network, and client or server access is needed only late. Effective in older estates where faults are often hardware-related.
  • Limit: slow on a large network, because it gathers a lot of data and always starts from the bottom. Reduce the scope with another method first.

Divide and conquer​

A balance between the two previous approaches: start in the middle, often at the network layer, with ping or traceroute. A successful test lets you work up from the network layer (bottom-up). A failure lets you work down from it (top-down).

Either way, causes are eliminated faster than with a pure top-down or bottom-up pass. It is probably the most widely used method.

Follow the path​

First discover the actual path packets take from source to destination, then restrict troubleshooting to the links and devices on it. This approach usually complements another method.

Here the traceroute stops after the first hop (the L3 switch), so the analysis focuses on that switch and the segments beyond it along the best path.

Compare configurations (spot the differences)​

Compare configurations, software versions or hardware between a working and a non-working situation, then bring the faulty element in line with the healthy one. In the source example, the failing branch's routing table lacks the static default route (S* 0.0.0.0/0) that the healthy branch has.

  • Strength: accessible to less experienced staff, and very fast when up-to-date baseline configurations exist.
  • Limit: it can restore service without revealing the root cause, so you may not know whether you applied a fix or a workaround.

Swap components (move the problem)​

Physically move components (cable, port, device) and watch whether the fault stays, follows the component, or disappears. The technique isolates an element even with almost no data, for example without administrative passwords.

  • Strength: if the cable is at fault, no administrative access is needed.
  • Limit: it assumes a single faulty component and gives no insight into what is happening.

Combining methods​

These approaches complement each other. A common sequence: reduce the scope with divide and conquer or follow the path, dig into the remaining area top-down or bottom-up, and compare with a baseline whenever a recent change is suspected.