2-121
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
diagnostic monitor
diagnostic monitor
Use the
diagnostic monitor
global configuration command to configure the health-monitoring diagnostic
testing. Use the
no
form of this command to disable testing and return to the default settings.
diagnostic monitor switch
{
num
}
test
{
test-id
|
test-id-range
|
all
}
diagnostic monitor interval switch
{
num
}
test
{
test-id
|
test-id-range
|
all
}
hh:mm:ss
milliseconds
day
diagnostic monitor syslog
diagnostic monitor threshold switch
{
num
}
test
{
test-id
|
test-id-range
|
all
}
count failure
count
no diagnostic monitor
switch
{
num
}
test
{
test-id
|
test-id-range
|
all
}
no diagnostic monitor
interval switch
{
num
}
test
{
test-id
|
test-id-range
|
all
}
no diagnostic monitor
syslog
no diagnostic monitor threshold switch
{
num
}
test
{
test-id
|
test-id-range
|
all
}
failure
count
Syntax Description
Defaults
The defaults are as follows:
•
Monitoring is disabled.
•
syslog
is enabled.
switch
num
Specify the module number. The range is from 1 to 9.
test
Specify a test to run.
test-id
Identification number for the test to be run; see the “Usage Guidelines”
section for additional information.
test-id-range
Range of identification numbers for tests to be run; see the “Usage
Guidelines” section for additional information.
all
Run all the diagnostic tests.
interval
Specify an interval between tests to be run.
hh:mm:ss
Specify the number of time between tests; see the “Usage Guidelines”
section for formatting guidelines.
milliseconds
Specify the time in milliseconds; valid values are 0 to 999.
day
Specify the number of days between tests; see the “Usage Guidelines”
section for formatting guidelines.
syslog
Enable the generation of a syslog message when a health-monitoring test
fails.
threshold
Specify the failure threshold.
failure count
count
Specify the failure threshold count.