- Title
- Table of Contents
- Preface
- Product Overview
- Command-Line Interfaces
- Configuring the Switch for the First Time
- Administering the Switch
- Configuring the Cisco IOS XE In Service Software Upgrade Process
- Configuring Interfaces
- Checking Port Status and Connectivity
- Configuring Supervisor Engine Redundancy Using RPR and SSO on Supervisor Engine 8-E
- Configuring Cisco NSF with SSO Supervisor Engine Redundancy
- Environmental Monitoring and Power Management
- Configuring Power over Ethernet
- Configuring the Catalyst 4500 Series Switch with Cisco Network Assistant
- Configuring VLANs, VTP, and VMPS
- Configuring IP Unnumbered Interface
- Configuring Layer 2 Ethernet Interfaces
- Configuring SmartPort Macros
- Configuring Cisco IOS Auto Smartport Macros
- Configuring STP and MST
- Configuring Flex Links and MAC Address-Table Move Update
- Configuring Resilient Ethernet Protocol
- Configuring Optional STP Features
- Configuring EtherChannel and Link State Tracking
- Configuring IGMP Snooping and Filtering
- Configuring IPv6 MLD Snooping
- Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling
- Configuring CDP
- Configuring LLDP, LLDP-MED, and Location Service
- Configuring UDLD
- Configuring Unidirectional Ethernet
- Configuring Layer 3 Interfaces
- Configuring Cisco Express Forwarding
- Configuring Unicast Reverse Path Forwarding
- Configuring IP Multicast
- Configuring ANCP Client
- Configuring Policy-Based Routing
- Configuring VRF-lite
- Configuring Quality of Service
- Configuring Voice Interfaces
- Configuring Private VLANs
- Configuring MACsec Encryption
- Configuring 802.1X Port-Based Authentication
- Configuring the PPPoE Intermediate Agent
- Configuring Web-Based Authentication
- Configuring Port Security
- Configuring Control Plane Policing and Layer 2 Control Packet QoS
- Configuring Dynamic ARP Inspection
- Support for IPv6
- Configuring DHCP Snooping, IP Source Guard, and IPSG for Static Hosts
- Configuring Network Security with ACLs
- Port Unicast and Multicast Flood Blocking
- Configuring Storm Control
- Configuring Wireshark
- Configuring SPAN and RSPAN
- Configuring Enhanced Object Tracking
- Configuring System Message Logging
- Onboard Failure Logging (OBFL)
- Configuring SNMP
- Configuring Flexible NetFlow
- Configuring Ethernet OAM and CFM
- Configuring Y.1731 (AIS and RDI)
- Configuring Call Home
- Configuring Cisco IOS IP SLA Operations
- Configuring RMON
- Performing Diagnostics
- Configuring WCCP Version 2 Services
- ROM Monitor
- Configuring MIB Support
- Acronyms and Abbreviations
- Index
Performing Diagnostics
You can use diagnostics to test and verify the functionality of the hardware components of your system (chassis, supervisor engines, modules, and ASICs) while your Catalyst 4500 series switch is connected to a live network. Diagnostics consists of packet-switching tests that test hardware components and verify the data path and control signals.
Online diagnostics are categorized as bootup, on-demand, schedule, or health-monitoring diagnostics. Bootup diagnostics run during bootup; on-demand diagnostics run from the CLI; scheduled diagnostics run at user-designated intervals or specified times when the switch is connected to a live network; and health-monitoring runs in the background.
This chapter consists of these sections:
Note For complete syntax and usage information for the switch commands used in this chapter, first look at the Cisco Catalyst 4500 Series Switch Command Reference and related publications at this location:
http://www.cisco.com/en/US/products//hw/switches/ps4324/index.html
If the command is not found in the Catalyst 4500 Series Switch Command Reference, it will be found in the larger Cisco IOS library. Refer to the Cisco IOS Command Reference and related publications at this location:
http://www.cisco.com/en/US/products/ps6350/index.html
Configuring On-Demand Online Diagnostics
You can run on-demand online diagnostic tests from the CLI. You can set the execution action to either stop or continue the test when a failure is detected, or to stop the test after a specific number of failures occur with the failure count setting. The iteration setting allows you to configure a test to run multiple times.
To schedule online diagnostics, perform this task:
Configures on-demand diagnostic tests to run, how many times to run (iterations), and what action to take when errors are found. |
This example shows how to set the on-demand testing iteration count:
This example shows how to set the execution action when an error is detected:
Scheduling Online Diagnostics
You can schedule online diagnostics to run at a designated time of day or on a daily, weekly, or monthly basis. You can schedule tests to run only once or to repeat at an interval. Use the no form of this command to remove the scheduling.
To configure online diagnostics, perform this task:
Schedules on-demand diagnostic tests on the specified module for a specific date and time, how many times to run (iterations), and what action to take when errors are found. |
This example shows how to schedule diagnostic testing on a specific date and time for a specific port on module 6:
This example shows how to schedule diagnostic testing to occur daily:
This example shows how to schedule diagnostic testing to occur weekly:
Performing Diagnostics
After you configure online diagnostics, you can start or stop diagnostic tests or display the test results. You can also see which tests are configured and what diagnostic tests have already run.
These sections describe how to run online diagnostic tests after they have been configured:
- Starting and Stopping Online Diagnostic Tests
- Displaying Online Diagnostic Tests and Test Results
- Displaying Data Path Online Diagnostics Test Results
- Line Card Online Diagnostics
- Troubleshooting with Online Diagnostics
Note Before you enable any online diagnostics tests, enable the logging console or monitor to observe all warning messages.
Note When running disruptive tests, only run them when you are connected using the console. When disruptive tests complete, a warning message on the console will recommend that you reload the system to return to normal operation. Strictly follow this warning.
Starting and Stopping Online Diagnostic Tests
After you configure diagnostic tests, you can use the start and stop keywords to begin or end a test.
To start or stop an online diagnostic command, perform one of these tasks:
This example shows how to start a diagnostic test on module 6:
This example shows how to stop a diagnostic test on module 6:
Displaying Online Diagnostic Tests and Test Results
You can display the configured online diagnostic tests and check the results of the tests with the show diagnostic command.
To display the configured diagnostic tests, perform this task:
This example shows how to display the online diagnostics configured on module 1:
This example shows how to display the test description for a given test on a module:
This example shows how to display the online diagnostic results for module 6:
This example shows how to display the online diagnostic results details for module 6:
___________________________________________________________________________
___________________________________________________________________________
Displaying Data Path Online Diagnostics Test Results
A data path online diagnostic test verifies that the data paths between the supervisor engine and the linecards (defined as a number of stub ASICs) are functioning correctly. There is a direct connection between each stub ASIC on a line card and the supervisor engine. Error counters on the supervisor engine (supervisor-rx-trends) and each stub ASIC on a line card (stub-rx-trends) are monitored periodically. Error counters that continually increase indicate malfunctioning hardware in the data path and cause the test to fail. Data path online diagnostic tests are non-destructure and the error counters are polled every minute.
Errors on the stub end of the data path are reported as errors in traffic egressing to the line card from the supervisor engine switching ASICs. Some initial errors might be revealed as links are brought up, but they should not increase. An increasing count indicates a poor connection between the supervisor engine and a line card. If only one line card is affected, the cause is likely an incorrectly seated or faulty line card. The error counts include idle frames, so detection can occur when traffic is not flowing.
Errors on the supervisor end of the data path are reported as errors in traffic ingressing to the supervisor engine from linecards. The error counts should not increase and the detection includes idle frames. If the error counts increase for more than one line card, the likely cause is a faulty supervisor engine or chassis. If only one stub or line card is affected, the likely cause is a faulty line card or a defective mux buffer (for a redundant chassis).
In addition to running periodically, data path online diagnostics can be also be invoked on-demand in the following way:
Detailed information about the test results can be viewed as follows:
___________________________________________________________________________
Line Card Online Diagnostics
A line card online diagnostic test verifies that all ports on a line card are working correctly. The test can detect whether the path to the front panel port on the line card is broken. The test cannot indicate where along the path that the problem occurred.
Note This test is run only for line cards that have stub chips.
Line card online diagnostics runs only once, when the line cards boot. This situation can happen when you insert a line card or power up a chassis.
Line card online diagnostics are performed by sending a packet from the CPU to every port on the line card. Because this packet is marked loopback, the CPU expects to see this packet return from the port. The packet first traverses the ASICs on the supervisor engine card, then travels by using the chassis backplane and the stub chip on the line cards to the PHYs. The PHY sends it back down the same path.
Note The packet does not reach or exit the front panel port.
Troubleshooting with Online Diagnostics
A faulty line card occurs if any of the following conditions occurs.
For all of these situations, the output of the show module command would display the status of the line card as faulty:
To troubleshoot a faulty line card, follow these steps:
Step 1 Enter the command show diagnostic result module 3.
If a faulty line card was inserted in the chassis, it will fail the diagnostics and the output will be similar to the following:
Issue an RMA for the line card, contact TAC, and skip steps 2 and 3.
The output may display the following:
The message indicates that the line card passed online diagnostics either when it was inserted into the chassis the last time or when the switch was powered up (as reported by the “.”). You need to obtain additional information to determine the cause.
Step 2 Insert a different supervisor engine card and reinsert the line card.
If the line card passes the test, it suggests that the supervisor engine card is defective.
Issue an RMA for the supervisor engine, contact TAC, and skip step 3.
Because online diagnostics are not run on the supervisor engine card, you cannot use the
#show diagnostic module 1 command to test whether the supervisor engine card is faulty.
Step 3 Reinsert the line card in a different chassis.
If the line card passes the test, the problem is associated with the chassis.
Issue an RMA for the chassis and contact TAC.
Overview of Power-On Self-Test Diagnostics
All Catalyst 4500 series switches have power-on self-test (POST) diagnostics that run whenever a supervisor engine boots. POST tests the basic hardware functionality for the supervisor switching engine, its associated packet memory and other on-board hardware components. The results of the POST impacts how the switch boots, because the health of the supervisor engine is critical to the operation of the switch. The switch might boot in a marginal or faulty state.
The POST results are indicated with a period (.) or a Pass for Pass, an F for a Fail and a U for Untested.
Sample Display of the POST on a Standby Supervisor Engine
Note To ensure that the maximum number of ports are tested, ensure that both supervisor engines are present on power-up.
Troubleshooting the Test Failures
A failure of any of the POST tests reflects a problem with the hardware on the supervisor engine.
Cisco IOS boots the supervisor engine with limited functionality, allowing you to evaluate and display the diagnostic test results. To determine the failure cause, do one of the following:
- Evaluate whether the hardware failure is persistent by power cycling the supervisor engine to rerun the POST tests.
- Remove and reinsert the supervisor engine into the chassis to ensure that the seating is correct.
Contact Cisco Systems customer support team for more information.
Note On a redundant chassis, concurrent POST is supported on supervisor engines that are already inserted. However, if a second supervisor engine is inserted while the first one is loading, you might boot the first supervisor engine in a faulty Cisco IOS state (POST will abort, and some of the POST’s tests will be bypassed). This situation only happens during concurrent bootup of the supervisor engines. You should not insert any additional supervisor engines in the empty supervisor engine slot while an already seated supervisor engine is running POST. The POST sequence is completed when the “Exiting to ios...” message is displayed.