50-5
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 50 Configuring Online Diagnostics
Running Online Diagnostic Tests
This example shows how to configure a health-monitoring test:
Switch(config)#
diagnostic monitor threshold switch 3 test 1 failure count 50
Switch(config)#
diagnostic monitor interval switch 3 test TestPortAsicRingLoopback
Running Online Diagnostic Tests
After you configure online diagnostics, you can manually start diagnostic tests or display the test results.
You can also see which tests are configured for the switch or switch stack and the diagnostic tests that
have already run.
•
Starting Online Diagnostic Tests, page 50-5
•
Displaying Online Diagnostic Tests and Test Results, page 50-6
Starting Online Diagnostic Tests
After you configure diagnostic tests to run on the switch, use the
diagnostic start
privileged EXEC
command to begin diagnostic testing.
Use this privileged EXEC command to manually start online diagnostic testing:
After starting the tests, you cannot stop the testing process.
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 start all of the basic diagnostic tests:
Switch#
diagnostic start switch 1 test all
Command
Purpose
diagnostic start switch
number
test
{
name
|
test-id
|
test-id-range
|
all
|
basic
|
non-disruptive
}
Start the diagnostic tests.
The
switch
number
keyword is supported only on Catalyst 3750-E switches. The range is
from 1 to 9.
You can specify the tests by using one of these options:
•
name
—Enter the name of the test. Use the
show diagnostic content
privileged EXEC
command to display the test ID list.
•
test-id
—Enter the ID number of the test. Use the
show diagnostic content
privileged
EXEC command to display the test ID list.
•
test-id-range
—Enter the range of test IDs by using integers separated by a comma
and a hyphen. For more information, see the
diagnostic start
command in the
command reference for this release.
•
all
—Use this keyword when you want to run all of the tests.
•
basic
—Use this keyword when you want to run the basic test suite.
•
non-disruptive
—Use this keyword when you want to run the non-disruptive test
suite.
Содержание Catalyst 3750-E Series
Страница 48: ...Contents xlviii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...
Страница 52: ...lii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 Preface ...
Страница 1414: ...Index IN 58 Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...