Purpose
Command or Action
•
test-id-range
—ID numbers of the tests that appear in
the
show diagnostic content
command output.
•
all
—All test IDs.
•
basic
—Starts the basic on-demand diagnostic tests.
•
complete
—Starts the complete test suite.
•
minimal
—Starts the minimal bootup test suite.
•
non-disruptive
—Starts the non-disruptive test suite.
•
per-port
—Starts the per-port test suite.
You can schedule the tests as follows:
• Daily—Use the
daily hh:mm
parameter.
• Specific day and time—Use the
on mm dd yyyy hh:mm
parameter.
• Weekly—Use the
weekly day-of-week hh:mm
parameter.
Configuring Health-Monitoring Diagnostics
You can configure health-monitoring diagnostic testing on a Device while it is connected to a live network.
You can configure the execution interval for each health-monitoring test, enable the Device to generate a
syslog message because of a test failure, and enable a specific test.
Use the
no
form of this command to disable testing.
By default, health monitoring is disabled, but the Device generates a syslog message when a test fails.
Follow these steps to configure and enable the health-monitoring diagnostic tests:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
diagnostic monitor interval number test
{
name
|
test-id
|
test-id-range
|
all
}
hh:mm:ss milliseconds
day
4.
diagnostic monitor syslog
5.
diagnostic monitor threshold number number test
{
name
|
test-id
|
test-id-range
|
all
}
failure count
count
6.
diagnostic monitor number test
{
name
|
test-id
|
test-id-range
|
all
}
7.
end
8.
show diagnostic
{
content
|
post
|
result
|
schedule
|
status
| }
9.
show running-config
10.
copy running-config startup-config
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
137
Configuring Online Diagnostics
Configuring Health-Monitoring Diagnostics