50-3
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 50 Configuring Online Diagnostics
Configuring Online Diagnostics
Configuring Health-Monitoring Diagnostics
You can configure health-monitoring diagnostic testing on a switch while it is connected to a live
network. You can configure the execution interval for each health-monitoring test, enable the switch to
generate a syslog message because of a test failure, and enable a specific test.
By default, health monitoring is disabled, but the switch generates a syslog message when a test fails.
Beginning in privileged EXEC mode, follow these steps to configure and enable the health-monitoring
diagnostic tests:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
diagnostic monitor interval switch
number
test
{
name
|
test-id
|
test-id-range
|
all
}
hh:mm:ss
milliseconds
day
Configure the health-monitoring interval of the specified tests.
The
switch
number
keyword is supported only on Catalyst 3750-E
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.
When specifying the interval, set these parameters:
•
hh:mm:ss
—Monitoring interval in hours, minutes, and seconds. The
range for
hh
is 0 to 24, and the range for
mm
and
ss
is 0 to 60.
•
milliseconds
—Monitoring interval in milliseconds (ms). The range is
from 0 to 999.
•
day
—Monitoring interval in the number of days. The range is from 0
to 20.
Step 3
diagnostic monitor syslog
(Optional) Configure the switch to generate a syslog message when a
health-monitoring test fails.
Содержание 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 ...