Table of Contents
Initial Troubleshooting
Online Diagnostics
Checking DDTs Database and Release Notes for Workarounds
Troubleshooting Hardware and Software Version Problems
Troubleshooting Switch Route Processor Redundancy and Enhanced High System Availability (Catalyst 8540 CSR and Catalyst 8540 MSR)
Initial Troubleshooting
This chapter describes the first steps you should take when you start troubleshooting your switch router, and contains the following sections:
Online Diagnostics
This section describes the online diagnostics available for troubleshooting your switch router. Online diagnostics provide the following types of tests:
- Processor Loopback Test (Catalyst 8540 CSR)
- Accessibility tests between the route processor and the interface modules and the route processor and the switch processor.
- Online insertion and removal (OIR) diagnostic tests.
- Snake tests through the switch router to ensure connectivity between the ports.
The switch router displays an error message on the console when it detects a hardware failure or problem.
 |
Note Online diagnostic tests only run on the primary route processor. |
Processor Loopback Test (Catalyst 8540 CSR)
The processor loopback test detects failures in the route processor to switch processor interface. The test sends a packet from the route processor to each switch processor which then loops back to the route processor. This test can run on the switch router without any port adapters or interface modules installed.
 |
Note The size of the packet and frequency of the test are configurable to minimize the impact on system performance. |
Accessibility Test
The accessibility tests ensure connectivity, at a configurable interval, between all of the following:
- Interface modules
- Active switch processor
- Standby switch processor, if it is present
OIR Test
Online insertion and removal (OIR) tests check the functioning of the switch fabric and interfaces on a per-port basis. The switch router performs these tests when the system boots up and when you insert an interface module into a slot. The OIR test sends a packet to the interface loopback and expects to receive it within a certain time period. If the packet does not reach the port within the expected time period, or the received packet is corrupted, an error is registered and the port is changed to an administrative down state. Packets that are 1000 bytes in size are used in the test.
The OIR tests support all the enhanced Gigabit Ethernet interface modules, with the exception of the OC-3c and OC12c ATM uplink interface module. In addition, OIR tests are not supported on the Fast Ethernet or Gigabit Ethernet interface modules.
OIR is enabled by default on the Catalyst 8540 CSR. To disable it, enter the no diag online oir command. To enable OIR, refer to commands in the "Configuring Online Diagnostics (Catalyst 8540 CSR)" section.
Snake Test
The snake test detects and reports port-to-port connectivity failures. The snake test establishes connections across all the active ports in the switch router, originating and terminating at the primary route processor. The route processor establishes a connection by sending a packet to each port in turn, which then terminates at the route processor. If the packet does not reach the route processor within the expected time period, or the received packet is corrupted, further testing is performed to isolate and disable the port causing the problem. The frequency of the test is configurable to minimize the impact on system performance.
The snake test supports all the enhanced Gigabit Ethernet interface modules on the Catalyst 8540 MSR and Catalyst 8540 CSR.
Configuring Online Diagnostics (Catalyst 8540 CSR)
To configure online diagnostics, use the following global configuration commands:
| Command |
Purpose |
|
diag online
|
Enables all of the online diagnostic tests.
|
|
diag online access
|
Enables only the accessibility diagnostic test.
|
|
diag online access freq [seconds]
|
Configures the frequency of the accessibility diagnostic tests. The default frequency is every 10 seconds.
|
|
diag online oir
|
Enables only the OIR test.
|
|
diag online oir pktsize [bytes]
|
Specifies the packet size for the OIR test. The default size is 1000 bytes.
|
|
diag online snake
|
Enables only the snake test.
|
|
diag online snake timer [seconds]
|
Specifies the time interval for the snake test. The default interval is 10 seconds.
|
|
no diag online [access | oir | snake]
|
Disables the online diagnostic tests.
|
|
clear counters diag online {access | oir | snake | all}
|
Clears the online diagnostic test counters.
|
|
debug diag online [access | oir | snake]
|
Enables debugging of online diagnostic tests.
|
|
no debug diag online [access | oir | snake]
|
Disables debugging of online diagnostic tests.
|
Examples
The following example shows how to enable all online diagnostic tests:
Router(config)#
diag online
ONLINE-DIAG: Enabling all Online Diagnostics tests
The following example shows how to change the frequency of the access test:
Router(config)#
diag online access freq 20
ONLINE-DIAG: Online Access Test Frequency set to 20 sec
Displaying the Online Diagnostics Configuration and Results (Catalyst 8540 CSR)
To display the online diagnostics configuration and results, use the following EXEC command:
| Command |
Purpose |
|
show diag online [details | status] [access | oir | snake]
|
Displays information about the online diagnostics tests and the test results.
|
Example
The following example shows how to display detailed access test information:
Switch#
show diag online details access
======== Online Access Test Details ========
Current Test Status : Test is Enabled
Current Frequency of Access Test : 10 seconds
Slot Card-Type Iteration Success Failure Last Failure
---- ---------- ---------- ------- ------- ------------
0/* K1 GIGETHERNET 114536 114536 0 ----
1/* CMPM Card 114536 114536 0 ----
1/0 XPIF POS OC12 P 114536 114536 0 ----
2/* CMPM Card 114536 114536 0 ----
2/0 XPIF POS OC12 P 114536 114536 0 ----
2/1 XPIF GIGE PAM 114536 114536 0 ----
3/* CMPM Card 114536 114536 0 ----
3/0 XPIF ATM OC3 PM 114536 114536 0 ----
3/1 XPIF GIGE PAM 114536 114536 0 ----
5/* Switch Card 114536 114536 0 ----
6/* Switch Card 27126 0 27126 1w6d
7/* Switch Card 114536 114536 0 ----
10/* ETHERNET PAM 27119 27119 0 ----
11/* CMPM Card 114536 114536 0 ----
11/0 XPIF GIGE PAM 114536 114536 0 ----
11/1 XPIF GIGE PAM 114536 114536 0 ----
12/* CMPM Card 114537 114537 0 ----
12/0 XPIF ATM OC12 P 114537 114537 0 ----
12/1 XPIF GIGE PAM 114537 114537 0 ----
Example
The following example shows how to display OIR test status and details:
Switch#
show diag online oir
======== OIR Test Status and Details ========
======== Online OIR Test Status ========
Current Test Status :Test is Enabled
-------- Bootup OIR status --------
Port Card Type Pkt Size Result Test Time LOOP
_______ ___________ _________ ___________________ ______________ ____
00/0/00 ETHERNET PA 1000 OIR_SUCCESS 00:01:54 PIF
00/0/01 ETHERNET PA 1000 OIR_SUCCESS 00:01:52 PIF
00/0/02 ETHERNET PA 1000 OIR_SUCCESS 00:01:50 PIF
00/0/03 ETHERNET PA 1000 OIR_SUCCESS 00:01:47 PIF
00/0/04 ETHERNET PA 1000 OIR_SUCCESS 00:01:55 PIF
00/0/05 ETHERNET PA 1000 OIR_SUCCESS 00:01:53 PIF
00/0/06 ETHERNET PA 1000 OIR_SUCCESS 00:01:51 PIF
00/0/07 ETHERNET PA 1000 OIR_SUCCESS 00:01:49 PIF
00/0/08 ETHERNET PA 1000 OIR_SUCCESS 00:02:04 PIF
00/0/09 ETHERNET PA 1000 OIR_SUCCESS 00:02:01 PIF
00/0/10 ETHERNET PA 1000 OIR_SUCCESS 00:01:59 PIF
00/0/11 ETHERNET PA 1000 OIR_SUCCESS 00:01:56 PIF
00/0/12 ETHERNET PA 1000 OIR_SUCCESS 00:02:05 PIF
00/0/13 ETHERNET PA 1000 OIR_SUCCESS 00:02:03 PIF
00/0/14 ETHERNET PA 1000 OIR_SUCCESS 00:02:00 PIF
00/0/15 ETHERNET PA 1000 OIR_SUCCESS 00:01:58 PIF
01/0/00 XPIF POS OC 1000 OIR_SUCCESS 00:01:48 PIF
01/1/00 XPIF GIGE P 1000 OIR_SUCCESS 00:01:57 PIF
02/0/00 GIGETHERNET 1000 OIR_SUCCESS 00:02:07 PIF
02/0/01 GIGETHERNET 1000 OIR_SUCCESS 00:02:10 PIF
03/0/00 XPIF GIGE P 1000 OIR_SUCCESS 00:02:08 PIF
03/1/00 XPIF GIGE P 1000 OIR_SUCCESS 00:02:11 PIF
-------- Latest OIR status --------
********No Other OIR tests not performed ********
======== Online OIR Test Details ========
Current Test Status :Test is Enabled
-------- Previous failure details ----------
******* No failures in OIR tests *******
-------- Complete details --------
Port Tx Pkt Rx Pkt Success Failure Total Tests
_______ _________ _________ _________ _________ ___________
Checking DDTs Database and Release Notes for Workarounds
This section describes different methods you can use to check for IOS software bugs (defect tracking tool numbers [DDTs]) in your version of IOS software. Often, your problems with the switch router have been fixed or a workaround has been determined in a more recent version of software.
There are two ways to check for known bugs in the IOS software:
Using Bug Navigator II
Bug Navigator II is a DDT search tool you can use to search the DDT database and ask either of two types of questions:
- Symptom Diagnostics (for example, "What defect is causing my current symptoms?")
- Upgrade Planning (for example, "What software release is best for the features I am interested in?")
To search the DDT database, you can access Bug Navigator II on the World Wide Web at http://www.cisco.com/support/bugtools/bugtool.shtml . Then perform the following steps:
Step 1 If you are not already logged in to Cisco.com, enter your user name and password at the login prompt.
Step 2 Read the "Bug Navigator II Help" instructions.
Step 3 From the "Cisco Hardware" list select your switch router under "Catalyst 8500 Series Switches." The Bug Navigator search tool replaces "Bug Navigator II Help" (in the right frame of the page).
Step 4 Select the following from the drop down menus:
- Version
- Revision
- Severity
 |
Note As an option, you can enter words or phrases (separated by commas) in the data entry field to limit your search. |
Step 5 Click the "Search" button.
The entire window will be replaced with a "Bug Search Results" window with a list of DDTs containing your search criteria. Look at the Bug reports listed in the "titles" column. An existing bug entry that describes the problem you are having may have been fixed in a more recent version of the IOS software. Look in the "Fixed-in" column for a later version of the IOS software. All you might have to do to solve your problem is upgrade your software.
If a software upgrade is not listed as a way to solve your problem, double-click on the bug title and read the DDT details; a workaround might be listed there.
Checking IOS Release Notes
Release notes describe the features and caveats for Cisco IOS software releases. The release notes are listed by both product and IOS release number.
 |
Note All information pertains to both the Catalyst 8540 CSR and Catalyst 8510 CSR platforms, unless differences between the platforms are noted in the text. |
The "Caveats" section of the release note lists known caveats for the switch router by tracking the DDTS number and the release number, and indicates whether the caveat has been corrected.
The "Caveat Symptoms and Workarounds" section summarizes caveat symptoms and suggested workarounds for the switch routers. You can also search thorough this section online, using either a word string or the DDTS number.
Troubleshooting Hardware and Software Version Problems
A common error you may encounter is the incompatibility of hardware modules and the IOS software version needed to perform a particular function. Check the Hardware and Software Compatibility Matrix document, available online, to confirm that you are using IOS software that supports the various hardware components installed in your switch router.
Verifying Hardware and Software Versions
Display the hardware and software versions to ensure that they are the most recent. Very old hardware and software versions (two or three versions back) can have caveats that have been fixed in more recent versions. Use the following EXEC commands to display the version information:
| Command |
Purpose |
|
show version
|
Displays the software version information.
|
|
show hardware [detail]
|
Displays detailed hardware information including revision level and version.
|
|
show functional-image slot slot
|
Displays functional image information.
|
To verify the hardware and software versions, use the following steps:
Step 1 Display the system software version:
Cisco Internetwork Operating System Software

IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(10)W5(18c)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Sat 19-Aug-00 00:11 by integ
Image text-base: 0x60010930, data-base: 0x608CA000
ROM: System Bootstrap, Version 12.0(4.6)W5(13) RELEASE SOFTWARE
8540CSR uptime is 2 minutes
System restarted by reload
System image file is "slot0:cat8540c-in-mz.120-10.W5.18c.bin"
cisco C8540CSR (R5000) processor with 262144K/256K bytes of memory.
R5000 processor, Implementation 35, Revision 2.1 (512KB Level 2 Cache)
1 Ethernet/IEEE 802.3 interface(s)
16 FastEthernet/IEEE 802.3 interface(s)
13 Gigabit Ethernet/IEEE 802.3z interface(s)
3 ATM network interface(s)
2 Packet over SONET network interface(s)
505K bytes of non-volatile configuration memory.
20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
16384K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x0
Step 2 Use the show hardware command to display the hardware revision levels.
C8540 named Router, Date: 13:59:13 UTC Mon Jan 3 2000

Slot Ctrlr-Type Part No. Rev Ser No Mfg Date RMA No. Hw Vrs Tst EEP
---- ------------ ---------- -- -------- --------- -------- ------- --- ---
0/* K1 GIGETHERN 73-3324-03 A0 0336441Y Oct 13 99 0 3.4
1/* CMPM Card 73-3944-03 09 03445724 Nov 09 99 3.0
1/0 XPIF POS OC1 73-4462-01 09 034558YP Nov 09 99 1.1
2/* CMPM Card 73-3944-03 A0 04087BW8 Mar 22 00 0 3.0
2/0 XPIF POS OC1 73-4462-01 A0 04046NRQ Mar 22 00 0 2.0
2/1 XPIF GIGE PA 73-4167-05 A0 04097GRJ Mar 22 00 0 1.0
3/* CMPM Card 73-3944-03 A0 04087BXK Mar 15 00 0 3.0
3/0 XPIF ATM OC3 73-3889-03 A0 040879AA Mar 15 00 0 1.0
3/1 XPIF GIGE PA 73-4167-05 A0 04097GQA Mar 15 00 0 1.0
4/* Route Proc 73-3775-04 A0 03201VCZ Oct 04 99 0 5.7
5/* Switch Card 73-3327-08 A0 032428ZR Jun 15 99 0 8.0
7/* Switch Card 73-3327-08 A0 032428ZE Jun 15 99 0 8.0
10/* ETHERNET PAM 73-3753-04 A0 03020FCA Sep 22 99 0 4.1
11/* CMPM Card 73-3944-03 A0 04087BY5 Mar 13 00 0 3.0
11/0 XPIF GIGE PA 73-4415-05 A0 04087AZE Mar 13 00 0 1.0
11/1 XPIF GIGE PA 73-4415-05 A0 04087AZL Mar 13 00 0 1.0
12/* CMPM Card 73-3944-03 A0 04087BWS Mar 14 00 0 3.0
12/0 XPIF ATM OC1 73-3889-03 A0 040879AO Mar 14 00 0 1.0
12/1 XPIF GIGE PA 73-4167-05 A0 04107N8R Mar 14 00 0 1.0
Model Ver. Serial MAC-Address MAC-Size RMA RMA-Number MFG-Date
------ ---- -------- ------------ -------- --- ---------- -----------
C8540 2 12237014 00D0BA1D3200 1024 0 0 Jun 18 1999
Slot Part No. Rev Serial No. RMA No. Hw Vrs Power Consumption
---- ---------------- ---- ----------- ----------- ------- -----------------
0 34-0829-02 A000 APQ02450080 00-00-00-00 1.0 2746 cA
Step 3 Verify that the hardware version is listed in the Hw Vrs column.
Step 4 Use the show hardware detail command to display detailed information about the hardware, including the functional image versions.
Switch#
show hardware detail
slot: 3/0 Controller-Type : XPIF ATM OC3 PM - 1 Port SM_IR
Part Number: 73-3889-03 Revision: A0
Serial Number: CAB040879AA Mfg Date: Mar 15 00
RMA Number: 0 H/W Version: 1.0
XPIF Version: 3001 CAM size: 64 KB
Ucode Version: 1.0 CAM Type: Private TCAM
Optical Line Daughter Card Serial EEPROM:
Part Number: 73-3975-02 Revision: A0
Serial Number: CAB0407768M Mfg Date: 2000/04/10
RMA Number: 0 HW Rever: 1.0
TCAM Daughter Card Serial EEPROM:
Part Number: 73-3970-02 Revision: A0
Serial Number: CAB04087BXK Mfg Date: 2000/03/04
RMA Number: 0 HW Rever: 2.0
slot: 3/1 Controller-Type : XPIF GIGE PAM
Part Number: 73-4167-05 Revision: A0
Serial Number: CAB04097GQA Mfg Date: Mar 15 00
RMA Number: 0 H/W Version: 1.0
XPIF Version: 3001 CAM size: 64 KB
Ucode Version: 1.0 CAM Type: Private TCAM
Port 0: DONE GBIC Vendor: No vendor info.
slot: 4/* Controller-Type : Route Proc
Part Number: 73-3775-04 Revision: A0
Serial Number: CAB03201VCZ Mfg Date: Oct 04 99
RMA Number: 0 H/W Version: 5.7
slot: 5/* Controller-Type : Switch Card
Part Number: 73-3327-08 Revision: A0
Serial Number: CAB032428ZR Mfg Date: Jun 15 99
RMA Number: 0 H/W Version: 8.0
slot: 7/* Controller-Type : Switch Card
Part Number: 73-3327-08 Revision: A0
Serial Number: CAB032428ZE Mfg Date: Jun 15 99
RMA Number: 0 H/W Version: 8.0
Step 5 Use the show functional-image command to display detailed information about the functional images for the route processors, switch processors, and Fast Ethernet and Gigabit Ethernet interface modules for the switch router (in this example, the Catalyst 8540 CSR). The following example shows how to display the functional image for the route processor in slot 4:
Switch#
show functional-image slot 4
Details for cpu Image on slot: 4

Functional Version of the FPGA Image: 4.8
#Jtag-Distribution-Format-B

#HardwareRequired: 100(3.0-19,4.0-19,5.0-19)
#Section1Format: MOTOROLA_EXORMAX
Copyright (c) 1996-00 by cisco Systems, Inc.
on: Mon Mar 6 13:59:17 PST 2000
using: /vob/cougar/bin/jtag_script Version 1.13
Part type Bits Config file
10k50 10 ../cidrFpga2/max/cidr_fpga.ttf
xcs4062 3 ../cubiFpga2/xil/cubi.bit
xcs4062 3 ../cubiFpga2/xil/cubi.bit
XC4005 3 /vob/cougar/custom/common/jtcfg/xil/jtcfg_r.bit
Number of instruction bits = 21
FPGA config file information:
Bitgen date/time Sum File
100/03/02 19:14:49 7068 ../cidrFpga2/max/cidr_fpga.ttf
1999/04/15 18:46:32 36965 ../cubiFpga2/xil/cubi.bit
1999/04/15 18:46:32 36965 ../cubiFpga2/xil/cubi.bit