Octet

How do you use the OSI model when you troubleshoot?

Show the answer

Say this first

I use it to prove each layer in order and to pick a starting point. Bottom up when the symptom smells physical (link down, errors, one user). Top down when the user reports an application error and the network looks healthy. Divide and conquer from layer 3 with a ping: if ping works, look up; if it fails, look down. Each layer has a quick proof: link up and clean counters, a MAC and ARP entry, a route and ping, a TCP connect to the port, then the application response.

Go deeper

Proof per layer

LayerWhat proves itCommands
1Link up, right speed and duplex, no CRC errors, optic light levelsshow interfaces status, show interfaces, show interfaces transceiver
2Right VLAN, MAC learned, STP forwarding, ARP resolvesshow mac address-table, show spanning-tree, show arp
3Correct IP and mask, route exists both ways, ping and tracerouteshow ip route, ping, traceroute
4Port reachable, no ACL or firewall drop, no MTU black holetelnet host 443, nc -vz, curl -v, firewall logs
7Application answers correctlycurl, dig, application logs

Picking the approach

  • Bottom up is thorough but slow. Good after cabling work or for a single port.
  • Top down starts where the user is. Good when many users are fine and one app fails.
  • Divide and conquer starts in the middle. A successful ping clears layers 1 to 3 at once.
  • Follow the path hop by hop, using the routing table and ARP at each device.

Traps

  • Saying "ping works so the network is fine". ICMP can take a different policy path from TCP 443.
How did you do?Book 1.3 Architecture