48-3
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 48 Configuring Online Diagnostics
Running Online Diagnostic Tests
Running Online Diagnostic Tests
After you configure online diagnostics, you can start diagnostic tests or display the test results. You can
also see which tests are configured for each switch and what diagnostic tests have already run.
These sections describe how to run online diagnostic tests after they have been configured:
Starting Online Diagnostic Tests, page 48-3
Displaying Online Diagnostic Tests and Test Results, page 48-3

Starting Online Diagnostic Tests

After you configure diagnostic tests to run on the switch or on individual switches, you can use start to
begin a diagnostic test.
Beginning in global configuration mode, use this command to start an online diagnostic test:
This example shows how to start a diagnostic test on a specific switch:
Switch# diagnostic start test 1
Switch#
06:27:50: %DIAG-6-TEST_RUNNING: Running TestPortAsicStackPortLoopback{ID=1} ...
06:27:51: %DIAG-6-TEST_OK: TestPortAsicStackPortLoopback{ID=1} has completed
successfully Switch#
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:
Command Purpose
diagnostic start test {test-id | test-id-range | all | basic |
non-disruptive}
Start a diagnostic test on a specific switch.
Tab l e 48-1 show diagnostic Commands
Command Purpose
show diagnostic content Display the online diagnostics configured for a switch.
show diagnostic status Display whether a switch is running a test.
show diagnostic result detail
show diagnostic result test [test_id | test_id_range] [detail]
Display the online diagnostics test results.
show diagnostic schedule Display the online diagnostics test schedule.
show diagnostic post Display the results of POST. (The same as the show post
command.)