SUMMARY STEPS
1.
configure terminal
2.
diagnostic schedule switch 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 global configuration mode.
configure terminal
Example:
Step 1
Device #
configure terminal
Schedules on-demand diagnostic test for a specific day and
time.
diagnostic schedule switch 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 test 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 switch 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.
• Specific day and time: Use the
on mm dd yyyy hh:mm
parameter.
• Weekly: Use the
weekly day-of-week hh:mm
parameter.
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
171
Configuring Online Diagnostics
Scheduling Online Diagnostics