Lesson 54: Troubleshooting Methodology and Tools
Troubleshooting is a crucial skill. A structured approach saves time and prevents unnecessary changes.
The Top-Down Troubleshooting Approach (OSI Layers)
- Define the problem: What is working and what is failing? Is it local or remote? Single user or multiple users?
- Gather facts: Use verification commands (
show), logs (Syslog), and diagnostic tools. - Analyze and form a hypothesis: Guess the most likely cause (e.g., 'It's a Layer 3 issue because I can ping locally but not remotely').
- Test the hypothesis: Implement a change or run a specific test.
- Document and resolve: If the change fixes the problem, document the steps.
Core Troubleshooting Tools
- Ping (ICMP Echo): Tests connectivity and reachability (Layer 3).
- Traceroute (ICMP/UDP): Maps the path a packet takes, showing latency to each hop. Useful for identifying where routing fails.
- Telnet/SSH: Tests connectivity to specific application ports (Layer 4/7).
show interface: Checks Layer 1/2 status (errors, collisions, duplex mismatch).debugcommands: Show real-time protocol activity (use sparingly in production!).