Reference Guide
show diag
Display results of offline diagnostic tests on a switch.
C9000 Series
Syntax
show diag {cp unit-id [detail | summary]| pe pe-id stack-unit
unit-number}|information | linecard slot-id [detail | summary]|
testcase {cp | pepe-id | linecard slot-id} }
From a PE console, use show diag testcase stack-unit unit number
[detail | summary]
Parameters
cp unit-id Enter the cp unit-id parameters to display the results
only of the offline diagnostic tests run on the Control
Processor CPU. The Control Processor CPU ID is 0.
pe pe-id Enter the pe pe-id parameters to display the results only
of the offline diagnostic tests run on the Port Extender (PE).
The PE ID range is from 0 to 255.
NOTE: The pe option is only available when the feature
extended bridge is enabled.
stack-unit unit-
number
Enter the stack—unit unit-number parameters to
display the offline diagnostic test results of a specified
stack-unit.
information Enter the keyword information to view the current diag
information in the system.
linecard slot-id Enter the linecard slot-id parameters to display the
results only of the offline diagnostic test run on a specified
line card. he range of line-card CPU IDs 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.
summary Enter the keyword summary to display a summary of the
offline diagnostic test results.
detail Enter the keyword detail to display detailed information
about the offline diagnostic test results.
testcase Enter the keyword testcase to display the diag testcases
available for CP, PE, or the Linecard.
Defaults View a summary of the offline diagnostic test results that ran on all CPUs (Control
Processor, Route Processor, line cards, and Port Extenders).
Command Modes EXEC Privilege
Debugging and Diagnostics
701