41-3
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
OL-8915-03
Chapter 41 Configuring Online Diagnostics
Running Online Diagnostic Tests
This example shows how to enable the generation of a syslog message when any health monitoring test
fails:
Switch(config)#
diagnostic monitor syslog
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 41-3
•
Displaying Online Diagnostic Tests and Test Results, page 41-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.
Table 41-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.