46-6
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-02
Chapter46 Configuring Online Diagnostics
Running Online Diagnostic Tests
This example shows how to start a diagnostic test by using the test name:
Switch# diagnostic start switch 2 test TestInlinePwrCtlr
This example shows how to st art all of the basic diagnostic tests:
Switch# diagnostic start switch 1 test all
Displaying Online Diagnostic Tests and Test Results
You can display the online diagnostic tests that are configured for the switch or switch stack and check
the test results by using the privileged EXEC show commands in Table 46- 1:
For examples of the show diagnostic command output, see the “Examples” section of the show
diagnostic command in the command reference for this release.
Table46-1 Commands for Diagnostic Test Configuration and Results
Command Purpose
show diagnostic content switch [number | all]1
1. The switch [number | all] parameter is supported only on Catalyst 3750-E switches.
Display the online diagnostics configured for a switch.
show diagnostic status Display the currently running diagnostic tests.
show diagnostic result switch [number | all]1 [detail |
test {name | test-id | test-id-range | all} [detail]]
Display the online diagnostics test results.
show diagnostic switch [number | all]1 [detail] Display the online diagnostics test results.
show diagnostic schedule switch [number | all]1 Display the online diagnostics test schedule.
show diagnostic post Display the POST results. (The output is the same as the show post
command output.)