Purpose
Command or Action
•
all
—Starts all of the tests.
•
basic
— Starts the basic test suite.
•
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.
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 this command to remove the scheduling.
SUMMARY STEPS
1.
configure terminal
2.
diagnostic schedule number test
{
name
|
test-id
|
test-id-range
|
all
|
basic
|
complete
|
minimal
|
non-disruptive
|
per-port
} {
daily
|
on mm dd yyyy hh:mm
|
port inter-port-number port-number-list
|
weekly day-of-week hh:mm
}
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Step 1
Device#
configure terminal
Schedules on-demand diagnostic tests for a specific day
and time.
diagnostic schedule number test
{
name
|
test-id
|
test-id-range
|
all
|
basic
|
complete
|
minimal
|
Step 2
non-disruptive
|
per-port
} {
daily
|
on mm dd yyyy hh:mm
The
switch number
keyword is supported only on stacking
switches.
|
port inter-port-number port-number-list
|
weekly
day-of-week hh:mm
}
When specifying the tests to be scheduled, use these options:
Example:
•
name
—Name of the test that appears in the
show
diagnostic content
command output.
Device(config)# diagnostic schedule
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.
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
136
Configuring Online Diagnostics
Configuring Online Diagnostics