Administrator Guide
Debugging and Diagnostics
Use the debugging and diagnostics commands described in this chapter to troubleshoot switch operation.
This chapter contains the following sections:
● Offline Diagnostic Commands
● Hardware Commands
Topics:
• Offline Diagnostic Commands
• Hardware Commands
Offline Diagnostic Commands
Use the offline diagnostics test suite to isolate faults and debug switch hardware. While tests are running, the system results
are saved as a text file in the flash directory: TestReport-N.txt , where N is 0,1, or 2 for the line-card processor (LP) and 0 for
the Control processor (CP) and Route Processor (RP). To display the system results in this text file, use the show file
command.
Important Points to Remember
● Offline diagnostics can only be run when the unit is offline.
● You can only run offline diagnostics on a unit to which you are connected via the console. In other words, you cannot run
diagnostics on a unit to which you are connected to via a stacking link.
● Diagnostic results are printed to the screen. The Dell Networking OS does not write them to memory.
● Diagnostics only test connectivity, not the entire data path.
diag
Run offline diagnostics on all CPUs or on a specified CPU in the switch.
C9000 Series
Syntax
diag {cp-unit | linecard | pe [pe-id stack-unit unit-number] | system} }
[alllevels | level0 | level1 | level2] [interactive] [testname name]
[terminate]
Parameters
cp
unit-id
Enter the cp unit-id parameters to run offline diagnostic tests only on the
Control Processor CPU. The Control Processor CPU ID is 0.
linecard
slot-id
Enter the linecard unit-id parameters to run offline diagnostic tests only on
a specified line card. The linecard slot-id range is from 0 to 11. Each line-card CPU
processes packets on the corresponding switch line card; for example, line-card
CPU 1 processes packets on line card 1.
pe
pe-id
Enter the pe pe-id parameters to run offline diagnostic tests only on a specified
port extender unit. The PE ID range is from 0 to 255.
NOTE: The pe option is only available when the feature extended bridge is
enabled.
12
Debugging and Diagnostics 575