PurposeCommand or Action
• 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 nondisruptive
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 enabled only for a few tests, and the device generates a syslog message when
a test fails.
Follow these steps to configure and enable the health-monitoring diagnostic tests:
Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Enter your password, if prompted.
Device> enable
Enters global configuration mode.configure terminal
Example:
Step 2
Device# configure terminal
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
201
Configuring Online Diagnostics
Configuring Health-Monitoring Diagnostics