Configuring Online Diagnostics
Online diagnostics are categorized as on-demand, scheduled, or health-monitoring diagnostics.
•
•
Configuring Online Diagnostics
You must configure the failure threshold and the interval between tests before enabling diagnostic
monitoring. You can schedule online diagnostics to run at a designated time of day or on a daily, weekly,
or monthly basis. Use the no form of this command to remove the scheduling. For detailed information
about this command, see the command reference for this release.
Beginning in privileged EXEC mode, follow these steps to schedule online diagnostics:
Command
Step 1
configure terminal
Step 2
diagnostic schedule test {name | test-id |
test-id-range | all | basic} {daily hh:mm |
on mm dd yyyy hh:mm | weekly day-of-week
hh:mm}
Step 3
show diagnostic {content | schedule}
Step 4
copy running-config startup-config
Use the no diagnostic schedule test {name | test-id | test-id-range | all | basic} {daily hh:mm |
on mm dd yyyy hh:mm | weekly 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 and verify the schedule:
Switch(config)# diagnostic schedule test 1 on Dec 4 2008 10:22
Cisco ME 3800X and 3600X Switch Software Configuration Guide
36-2
On-demand diagnostics run from the CLI.
Scheduled diagnostics run at user-designated intervals or at specified times when the switch is
connected to a live network.
Purpose
Enter global configuration mode.
Schedule on-demand diagnostic tests for a specific day and time.
When specifying the tests to be scheduled, use these options:
name—Name of the test that appears in the show diagnostic
•
content command output. See
test-id—ID number of the test that appears in the show
•
diagnostic content command output. See
•
test-id-range—A range of test ID numbers separated by a
hyphen or commas.
•
all—All of the diagnostic tests.
•
basic—Basic on-demand diagnostic tests.
You can schedule the tests for these time periods:
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.
Verify the configured online diagnostic tests and schedule.
Enter show diagnostic content to display the configured
•
online diagnostics.
•
Enter show diagnostic schedule to display the online
diagnostics test schedule.
(Optional) Save your entries in the configuration file.
Chapter 36
Configuring Online Diagnostics
Table
36-1.
Table
36-1.
OL-23400-01