The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
The LEDs on the front panel provide troubleshooting information about the switch. They show failures in the power-on self-test (POST), port-connectivity problems, and overall switch performance. For a full description of the switch LEDs, see the “LEDs” section.
You can also get statistics from the browser interface, from the command-line interface (CLI), or from a Simple Network Management Protocol (SNMP) workstation. See the software configuration guide, the switch command reference guide on Cisco.com, or the documentation that came with your SNMP application for details.
This chapter describes these topics for troubleshooting problems:
The LEDs on the front panel provide troubleshooting information about the switch. They show POST failures, port-connectivity problems, and overall switch performance. You can also get statistics from the CLI or from an SNMP workstation. See the software configuration guide and the switch command reference on Cisco.com or the documentation that came with your SNMP application for more information.
As the switch powers on, it begins the POST, a series of tests that runs automatically to ensure that the switch functions properly. It might take several minutes for the switch to complete POST.
When the switch begins POST, the system LED slowly blinks green. When POST completes, the system LED blinks amber. If POST fails, the system LED remains amber. If POST completes successfully, the system LED rapidly blinks green.
Note POST failures are usually fatal. Contact your Cisco technical support representative if your switch does not pass POST.
Look at the port LEDs for troubleshooting information about the switch. See the “LEDs” section for a description of the LED colors and their meanings.
Review these sections when troubleshooting switch connectivity problems:
Always look at the cable for marginal damage or failure. A cable might connect at the physical layer but then cause packet corruption because of subtle damage to its wiring or connectors. You can identify this situation because the port will have many packet errors, or the port constantly loses and regains link. In these situations:
Make sure that you have the correct cable type for the connection:
Verify that both sides have link. A single broken wire or one shutdown port can cause one side to show link, but the other side does not have link.
A link LED does not guarantee that the cable is fully functional. The cable might have encountered physical stress that causes it to function at a marginal level. If the link light for the port does not come on:
Use only Cisco small form-factor (SFP) modules on the switch. Each Cisco module has an internal serial EEPROM that is encoded with security information. This encoding provides a way for Cisco to identify and validate that the module meets the requirements for the switch. Look for these items:
An obvious but sometimes overlooked cause of port connectivity failure is a disabled port. Verify that the port or interface is not disabled or for some reason powered off. If a port or interface is manually shut down on one or the other side of the link, the link does not come up until you re-enable the port. Use the show interfaces privileged EXEC command to verify the port or interface error-disabled, disabled, or shutdown status on both sides of the connection. If necessary, re-enable the port or the interface.
Verify the end device connection by first pinging it from the directly connected switch, and then work your way back port by port, interface by interface, trunk by trunk, until you find the source of the connectivity issue. Make sure that each switch can identify the end device MAC address in its Content-Addressable Memory (CAM) table.
Spanning Tree Protocol (STP) loops can cause serious performance issues that might appear to be port or interface problems. In this situation, the switch bandwidth is used repeatedly by the same frames, crowding out legitimate traffic.
A unidirectional link can cause loops. This occurs when the traffic that the switch sends is received by its neighbor, but the switch does not receive the traffic that is sent from the neighbor. A broken fiber-optic cable, other cabling, or a port issue could cause this one-way communication.
You can enable the UniDirectional Link Detection (UDLD) protocol on the switch to help identify difficult-to-find unidirectional link problems. UDLD supports a normal mode of operation (the default) and an aggressive mode. In normal mode, UDLD detects unidirectional links because of incorrectly connected interfaces on fiber-optic connections. In aggressive mode, UDLD also detects unidirectional links caused by one-way traffic on fiber-optic and twisted-pair links and by incorrectly connected interfaces on fiber-optic links. For information about enabling UDLD on the switch, see the “Understanding UDLD” section in the software configuration guide.
Review these sections when you troubleshoot switch performance problems:
If the port statistics show a large number of alignment errors, frame check sequence (FCS), or late-collisions errors, a speed or duplex mismatch might be the problem.
A common issue with speed and duplex occurs when the duplex settings are mismatched between two switches, between a switch and a router, or between the switch and a workstation or server. This can happen when you manually set the speed and duplex or because of autonegotiation issues between the two devices.
These circumstances can result in a mismatch:
To maximize switch performance and to ensure a link, follow one of these guidelines when you set or change the settings for duplex and speed:
Problems sometimes occur between the switch and third-party network interface cards (NICs). By default, the switch ports and interfaces are set to autonegotiate. It is common for devices such as laptop computers or other devices to also be set to autonegotiate, yet sometimes autonegotiation issues occur.
To troubleshoot autonegotiation problems, try to manually set both sides of the connection. If this does not solve the problem, the firmware or software on your NIC card might be causing the problem. Upgrade the NIC card driver to the latest version available from the manufacturer.
If the port statistics show excessive FCS, late-collision, or alignment errors, verify that the cable distance from the switch to the connected device meets the recommended guidelines. See Appendix B, “Cable and Adapter Specifications.” for cabling guidelines.
If you have configured a new switch with an incorrect IP address, you can clear the IP address that is configured on the switch.
Follow these steps to return your switch to the factory default settings:
1. Press and hold the Mode button (see Figure 1-23).
The switch LEDs begin blinking after about 2 seconds. If the switch is not configured, the LEDs above the mode button turn green. You can omit this step and run Express Setup to configure the switch.
2. Continue holding down the Mode button. The LEDs stop blinking after an additional 8 seconds, and then the switch reboots.
The switch now behaves like an unconfigured switch. You can configure the switch by using Express Setup as described in the switch getting started guide that is included with the switch.
You can also configure the switch by using the CLI setup procedure described in Appendix C, “Configuring the Switch with the CLI-Based Setup Program.”
If you contact Cisco Technical Assistance, you need to know the serial number of your switch. See Figure 4-1 through Figure 4-3 to locate the serial number on your switch. You can also use the show version command to get the serial number.
Figure 4-1 Serial Number Location on the Catalyst 2960-Plus 24PC-L, 2960-24PC-L, 2960-24LT-L, 2960-Plus 48PST-L, 2960-48PST-L, 2960-24TT-L, 2960-48TT-S, 2960-48TT-L, 2960G-24TC-L, 2960-Plus 24PC-S, 2960-24PC-S, 2960-Plus 24LC-L, 2960-Plus 24LC-S, 2960-24LC-S, 2960-Plus 48PST-S, 2960-48PST-S, and 2960G-48TC-L Switches
Figure 4-2 Serial Number Location on the Catalyst 2960-24-S, 2960-Plus 24TC-S, 2960-24TC-S, 2960-Plus 48TC-S, and 2960-48TC-S Switches
Figure 4-3 Serial Number Location on the Catalyst 2960-8TC-L, Catalyst 2960G-8TC-L, Catalyst 2960-8TC-S, and Catalyst 2960PD-8TT-L Switches