36-2
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 36 Configuring Online Diagnostics
Configuring Online Diagnostics
Online diagnostics are categorized as on-demand, scheduled, or health-monitoring diagnostics.
•
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.
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:
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
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
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}
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
Table 36-1
.
•
test-id—ID number of the test that appears in the show
diagnostic content command output. See
Table 36-1
.
•
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.
Step 3
show diagnostic {content | schedule}
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.
Step 4
copy running-config startup-config
(Optional) Save your entries in the configuration file.