1
Introduction
This document provides information about troubleshooting common software and hardware issues
with the switches.
This document is not restricted to specific software or hardware versions.
General guidelines
IMPORTANT:
To prevent a failure from causing loss of configuration, save the configuration each time you finish
configuring a feature. For configuration recovery, regularly back up the configuration to a remote
server.
When you troubleshoot the switch, follow these general guidelines:
•
To help identify the failure cause, collect system and configuration information, including:
{
Symptom, time of failure, and configuration.
{
Network topology information, including the network diagram, port connections, and points
of failure.
{
Log messages and diagnostic information. For more information about collecting this
information, see "
Collecting log and operating information
{
Physical evidence of failure:
−
Photos of hardware.
−
Status of the LEDs.
{
Measures you have taken, such as reconfiguration, cable swapping, and reboot.
{
Output from the commands executed during the troubleshooting process.
•
To ensure safety, wear an ESD wrist strap when you replace or maintain a hardware
component.
•
If hardware replacement is required, use the release notes to verify the hardware and software
compatibility.
Collecting log and operating information
IMPORTANT:
To facilitate quick troubleshooting, execute the following commands:
•
info-center enable
—Enables the information center. By default, the information center is enabled.
•
info-center logfile enable
—Enables the log file feature so the system outputs logs to the log file. By
default, the log file feature is enabled.
•
info-center diagnostic-logfile enable
—Enables saving diagnostic logs to the diagnostic log file. By
default, saving diagnostic logs to the diagnostic log file is enabled.
shows the types of files that the system uses to store operating log and status information.
You can export these files by using FTP, TFTP, or USB.
In an IRF system, the common log and diagnostic log files are stored in the
flash:/logfile
and
flash:/diagfile
directories of the master device, respectively. Multiple devices will have log files if
master/subordinate switchovers have occurred. You must collect log files from all member devices.