52-3
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 52 Configuring Online Diagnostics Configuring Online Diagnostics
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-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.
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.
Step 4 diagnostic monitor threshold switch
number test {name | test-id |
test-id-range | all} failure count count
(Optional) Set the failure threshold for the 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.
The range for the failure threshold count is 0 to 99.