Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
39-2
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 39 Configuring Online Diagnostics
Scheduling 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 specific switch. Use the no form of this command to remove the scheduling.
Beginning in global configuration mode, use this command to schedule online diagnostics:
This example shows how to schedule diagnostic testing on a specific date and time for a specific switch:
Switch(config)# diagnostic schedule switch 1 test 1,2,4-6 on january 3 2006 23:32
This example shows how to schedule diagnostic testing to occur weekly at a certain time for a specific
switch:
Switch(config)# diagnostic schedule switch 1 test 1,2,4-6 weekly friday 09:23
Configuring Health-Monitoring Diagnostics
You can configure health-monitoring diagnostic testing on a specified switch while the switch is
connected to a live network. You can configure the execution interval for each health-monitoring test,
whether or not to generate a system message upon a test failure, or to enable or disable an individual test.
Use the no form of this command to disable testing.
Beginning in global configuration mode, use these commands to configure health-monitoring
diagnostics:
Use the no diagnostic monitor interval switch {num} test {test-id | test-id-range | all} global
configuration command to change the interval to the default value or to zero. Use the no diagnostic
monitor syslog command to disable generation of syslog messages when a health-monitoring test fails.
Use the diagnostic monitor threshold switch numtest {test_id | test_id_range | all} failure count
command to remove the failure threshold.
Command Purpose
diagnostic schedule switch numtest {test_id | test_id_range
| all | basic | non-disruptive} {daily hh:mm | on mm dd yyyy
hh:mm} | weekly day_of_week hh:mm}
Schedule on-demand diagnostic tests for a specific date and
time, how many times to run the test (iterations), and what
action to take when errors are found.
Command Purpose
diagnostic monitor interval switch numtest {test_id |
test_id_range} hour:mm:ss milliseconds day
Configure the health-monitoring interval of the specified testsfor
the specified switch. By default, monitoring is disabled.
diagnostic monitor syslog Enable the generation of a syslog message for health-monitoring
test failures. By default, syslog is disabled.
diagnostic monitor threshold switch numtest {test_id |
test_id_range} failure count count
Set the failure threshold for monitoring tests. By default,
monitoring is disabled.