Scheduling Online Diagnostics - Cisco Catalyst 2960 Software Configuration Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

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:
Command
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}
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:
Command
diagnostic monitor interval switch num test {test_id |
test_id_range} hour:mm:ss milliseconds day
diagnostic monitor syslog
diagnostic monitor threshold switch num test {test_id |
test_id_range} failure count count
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 num test {test_id | test_id_range | all} failure count
command to remove the failure threshold.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
40-2
Purpose
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.
Purpose
Configure the health-monitoring interval of the specified tests for
the specified switch. By default, monitoring is disabled.
Enable the generation of a syslog message for health-monitoring
test failures. By default, syslog is disabled.
Set the failure threshold for monitoring tests. By default,
monitoring is disabled.
Chapter 40
Configuring Online Diagnostics
OL-26520-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents