Configuring Online Diagnostics
You must configure the failure threshold and the interval between tests before enabling diagnostic monitoring.
Scheduling Online Diagnostics
You can schedule online diagnostics to run at a designated time of day, or on a daily, weekly, or monthly
basis for a device. Use the no form of the diagnostic schedule switch command to remove the scheduling.
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
Device #configure terminal
Schedules on-demand diagnostic test for a
specific day and time.
diagnostic schedule module number test
{name | test-id | test-id-range | all | basic |
Step 2
complete | minimal | non-disruptive |
The switch number keyword is supported only
on stacking switches.
per-port} {daily | on mm dd yyyy hh:mm | port
inter-port-number port-number-list | weekly
day-of-week hh:mm}
When specifying the test to be scheduled, use
these options:
Example:
• name: Name of the test that appears in the
showdiagnostic content command output.
Device(config)# diagnostic schedule
module 3 test 1-5 on July 3 2013 23:10
• 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 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 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.
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
276
Configuring Online Diagnostics
Configuring Online Diagnostics