50-5
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter50 Configuring Online Diagnostics
Displaying Online Diagnostic Tests and Test Results
Displaying Online Diagnostic Tests and Test Results
You can display the online diagnostic tests that are configured for specific switches and check the results
of the tests using the show commands.
To display the diagnostic tests that are configured for a switch and the test results, use these privileged
EXEC commands:
This example shows how t o display the online diagnostics that are configured on a switch:
Switch# show diagnostic content switch 3
Switch 3:
Diagnostics test suite attributes:
B/* - Basic ondemand test / NA
P/V/* - Per port test / Per device test / NA
D/N/* - Disruptive test / Non-disruptive test / NA
S/* - Only applicable to standby unit / NA
X/* - Not a health monitoring test / NA
F/* - Fixed monitoring interval test / NA
E/* - Always enabled monitoring test / NA
A/I - Monitoring is active / Monitoring is inactive
R/* - Switch will reload after test list completion / NA
P/* - will partition stack / NA
Test Interval Thre-
ID Test Name attributes day hh:mm:ss.ms shold
==== ================================== ============ =============== =====
1) TestPortAsicStackPortLoopback B*N****A** 000 00:01:00.00 n/a
2) TestPortAsicLoopback B*D*X**IR* not configured n/a
3) TestPortAsicCam B*D*X**IR* not configured n/a
4) TestPortAsicRingLoopback B*D*X**IR* not configured n/a
5) TestMicRingLoopback B*D*X**IR* not configured n/a
6) TestPortAsicMem B*D*X**IR* not configured n/a
This example sh ows how to display the online diagnostic results for a switch:
Switch# show diagnostic result switch 1
Switch 1: SerialNo :
Overall diagnostic result: PASS
Test results: (. = Pass, F = Fail, U = Untested)
1) TestPortAsicStackPortLoopback ---> .
2) TestPortAsicLoopback ------------> .
3) TestPortAsicCam -----------------> .
4) TestPortAsicRingLoopback --------> .
5) TestMicRingLoopback -------------> .
6) TestPortAsicMem -----------------> .
Table50-1 show diagnostic Commands
Command Purpose
show diagnostic content switch [num | all] Display the online diagnostics configured for a switch.
show diagnostic status Display whether a switch is running a test.
show diagnostic result switch [num | all] detail
show diagnostic result switch [num | all] test [test_id |
test_id_range | all] [detail]
Display the online diagnostics test results.
show diagnostic schedule switch [num | all] Display the online diagnostics test schedule.
show diagnostic post Display the results of POST. (The same as the show post
command.)