1-4
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring Online Diagnostics
Running Online Diagnostic Tests
To disable diagnostic testing and return to the default settings, use these commands:
•
To disable online diagnostic testing, use the
no diagnostic monitor
switch
number
test
{
name
|
test-id
|
test-id-range
|
all
} global configuration command.
•
To return to the default health-monitoring interval, use the
no diagnostic monitor
interval switch
number
test
{
name
|
test-id
|
test-id-range
|
all
} global configuration command.
•
To configure the switch to not generate a syslog message when the health-monitoring test fails, use
the
no
diagnostic monitor syslog
global configuration command.
•
To return to the default failure threshold, use the
no diagnostic monitor threshold
switch
number
test
{
name
|
test-id
|
test-id-range
|
all
}
failure count
count
global configuration command.
Note
The
switch
number
keyword is supported only on Catalyst 3750-X switches.
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 1-5
•
Displaying Online Diagnostic Tests and Test Results, page 1-5
Step 5
diagnostic monitor switch
number
test
{
name
|
test-id
|
test-id-range
|
all
}
Enable the specified health-monitoring tests.
The
switch
number
keyword is supported only on Catalyst 3750-X
switches. The range is from 1 to 9.
When specifying the tests, use one of these parameters:
•
name
—Name of the test that appears in the
show diagnostic content
command output.
•
test-id
—ID number of the test that appears in the
show diagnostic
content
command output.
•
test-id-range
—ID numbers of the tests that appear in the
show
diagnostic content
command output.
•
all
—All of the diagnostic tests.
Step 6
end
Return to privileged EXEC mode.
Step 7
show diagnostic
{
content
|
post | result
| schedule
|
status | switch
}
Display the online diagnostic test results and the supported test suites. See
the
“Displaying Online Diagnostic Tests and Test Results” section on
for more information.
Step 8
show running-config
Verify your entries.
Step 9
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Summary of Contents for Catalyst 3560-X Series
Page 12: ...Contents 10 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 13: ...Contents 11 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 14: ...Contents 12 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 15: ...Contents 13 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 16: ...Contents 14 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 17: ...Contents 15 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 18: ...Contents 16 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 19: ...Contents 17 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 20: ...Contents 18 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 21: ...Contents 19 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 22: ...Contents 20 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 23: ...Contents 21 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 24: ...Contents 22 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 25: ...Contents 23 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 26: ...Contents 24 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 27: ...Contents 25 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 28: ...Contents 26 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 29: ...Contents 27 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 30: ...Contents 28 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 31: ...Contents 29 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 32: ...Contents 30 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 33: ...Contents 31 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 34: ...Contents 32 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 35: ...Contents 33 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 36: ...Contents 34 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 37: ...Contents 35 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 38: ...Contents 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 42: ...56 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Preface ...
Page 1538: ...Index IN 58 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...