The following section is a summary of the major points you should be aware of in this chapter.
Troubleshooting and the Troubleshooting Flow
- Troubleshooting can be thought of as the process of identifying or diagnosing a problem
- There is no single troubleshooting method that can be applied to all situations
- The high-level three-step troubleshooting flow is comprised of the following phases:
- The Problem Report
- Problem Diagnosis
- Problem Resolution
- The problem report is what typically initiates the troubleshooting process
- The problem report is used to define the problem
- The very first step of the troubleshooting process itself is problem diagnosis
- The problem diagnosis phase is the most time consuming phase
- The five steps included in the problem diagnosis phase are:
- Collecting information about the problem
- Analyzing or examining the collected information
- Eliminating possible causes
- Hypothesizing or theorizing potential causes
- Verifying the hypothesis or theory
- The problem resolution phase entails notifying and confirming that the problem is resolved
Communication and Troubleshooting
- Effective communication is an integral component of the troubleshooting process
- Effective communication includes the end user, team management, and management
- Effective communication is essential in all steps of the troubleshooting process
Integrating Maintenance and Troubleshooting
- A well documented and well maintained network is a lot easier to support and troubleshoot
- A structured maintenance approach facilitates the troubleshooting and support functions
- Baselining is a network maintenance function that facilitates troubleshooting
- Baselining is a process for studying the network and network devices regular intervals
- Baselining can help you obtain the following information from the network:
- Information on the health of the hardware and software
- Predict future problems
- Determine the current utilization of network resources
- Identify current network problems
- Make accurate decisions about network alarm thresholds
- The baselining process can be used to determine the network break point
- Baselining tools include Cisco IP SLA operations, SNMP, NetFlow, and CiscoWorks
- Documentation is integral to the troubleshooting process
- The network should be well documented and documentation well maintained
- Tools that facilitate documentation include EEM, Configuration Archive, and KRON
- Change management also facilitates the troubleshooting process
- A change management process can help minimize network and service downtime
- Some examples of changes include the following:
- Environmental changes
- Network changes
- Application changes
- Hardware changes
- Documentation changes
- Software changes
- Troubleshooting is simplified when changes are implemented in a controlled environment
Troubleshooting Methodologies
- A structured troubleshooting approach reduces the amount of time spent troubleshooting
- A structured troubleshooting approach results in greater efficiency
- Experienced troubleshooters commonly use a shoot from the hip troubleshooting method
- A shoot from the hip approach leverages the troubleshooters experience and knowledge
- A shoot from the hip approach will not usually work well for inexperienced troubleshooters
- Commonly used structured troubleshooting approaches include the following:
- The Top-Down Troubleshooting Method
- The Bottom-Up Troubleshooting Method
- The Follow the Traffic Path Method
- The Compare Configurations Method
- The Divide and Conquer Method
- The Component Swapping Method
- The top-down approach begins troubleshooting at Layer 7 and works down to Layer 1
- The bottom-up approach begins troubleshooting at Layer 1 and works up to Layer 7
- The follow the traffic method requires intimate network and traffic flow knowledge
- The follow the traffic method is based on the path that traffic takes through the network
- The compare configurations method compares configurations with working ones
- The divide and conquer method begins at the middle of the OSI model
- The divide and conquer method then works up or down depending on the test results
- The component swapping method physically replaces components
The Cisco IOS Generic Troubleshooting Toolkit
- Cisco IOS software provides a plethora of tools that can be used to support troubleshooting
- The Ping and Traceroute utilities are commonly used to verify network connectivity
- The Ping utility is primarily used to verify connectivity between endpoints
- The Traceroute utility is primarily used to discover the path taken between endpoints
- Cisco IOS software supports standard and extended Ping and Traceroute functions
- Cisco IOS software supports GOLD and IOS Service Diagnostics utilities
- Cisco GOLD can be used to troubleshoot hardware problems
- Cisco IOS Service Diagnostics is a programmable diagnostics service
- Cisco IOS Service Diagnostics can be used for BGP,OSPF, and QoS diagnostics
- Cisco IOS Service Diagnostics can be used to monitor and detect abnormal utilization
- Cisco IOS Service Diagnostics leverages EEM and Tcl
- Cisco commands are filtered using the begin, exclude, include, and section keywords
- Regular expressions can also be used when performing command filtering
- Cisco IOS command output can also be redirected to external locations, e.g. Flash and TFTP
- Cisco IOS command output redirection uses the append, redirect or tee keywords
- The append keyword appends output to an existing file
- The redirect keyword redirects the command output to the specified location
- The tee keyword redirects output and allows you to see it at the same time
- Analyzing traffic packet captures is one of the most common troubleshooting tasks
- Cisco IOS software-based routers support RITE for packet captures
- RITE can be used to send captures to a specified device or store them in memory
- Cisco Catalyst switches and high-end routers support SPAN for packet captures
- Cisco provides three variants of SPAN: local SPAN, RSPAN and ERSPAN
- Local SPAN is configured on a single physical device
- Remote SPAN can be configured between multiple Layer 2 switches across trunk links
- ERSPAN can be configured between remote switches separated by IP networks
- The show processes command can be used for health monitoring and verification
- The show processes command provides CPU and memory statistics
- The show environment command is used to verify device environmental variables
- Cisco provides additional troubleshooting online, e.g. Error Message Decoder