50-2
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 50 Configuring Online Diagnostics
Configuring Online Diagnostics
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 switch. Use the no form of this command to remove the scheduling.
Use this global configuration command to schedule online diagnostics:
Use the no diagno
stic schedule switch number test {name | test-id | test-id-range | all | basic |
non-disruptive} {daily hh:mm | on mm dd yyyy hh:mm | we
ekly day-of-week hh:mm} global
configuration command to remove the scheduled tests.
This example shows how to schedule diagnostic testing for a specific day and time on a Catalyst 3560-E
swit
ch:
Switch(config)# diagnostic schedule test TestPortAsicCam on december 3 2006 22:25
This example shows how to schedule diagnostic testing to occur weekly at a specific time on member
switch 6 when this command is entered on a C
atalyst 3750-E stack master:
Switch(config)# diagnostic schedule switch 6 test 1-4,7 weekly saturday 10:30
For more examples, see the “Examples” section of the diagnostic schedule command in the command
reference for this release.
Command Purpose
diagnostic schedule swi
tch
number test {name | test-id |
test-id-range | all | basic |
non-disruptive} {daily hh:mm |
on mm dd yyyy hh:mm | week
ly
day-of-week hh:mm}
Schedule on-demand diagnostic tests for a specific day and time.
The switc
h number keyword is supported only on Catalyst 3750-E switches. The range
is from 1 to 9.
When specifying the tests to be scheduled, use these options:
• name—Name of the test that appears in the show diagnostic content command
output.
• 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 of the diagnostic tests.
• basic—Basic on-demand diagnostic tests.
• non-disruptive—Nondisruptive health-monitoring tests.
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.
For detailed information about this command, see the command reference for this release.