![Cisco Catalyst 2350 Command Reference Manual Download Page 76](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583076.webp)
2-52
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
diagnostic monitor
Command History
Usage Guidelines
Follow these guidelines when configuring health-monitoring diagnostic testing:
•
name
—Enter the
show diagnostic
content
privileged EXEC command to display the test names in
the test ID list.
•
test-id
—Enter the
show diagnostic
content
command to display the test numbers in the test ID list.
•
test-id-range
—Enter the
show diagnostic
content
command to display the test numbers in the test
ID list. Enter the range as integers separated by a comma and a hyphen (for example, 1,3-6 specifies
test IDs 1, 3, 4, 5, and 6).
•
hh—
Enter the hours from 0 to 24.
•
mm—
Enter the minutes from 0 to 60.
•
ss—
Enter the seconds from 0 to 60.
•
milliseconds—
Enter the test time in milliseconds from 0 to 999.
•
day—
Enter the number of days between test from 0 to 20.
•
Enter the
diagnostic monitor test 1
command to enable diagnostic monitoring.
You must configure the failure threshold and the interval between tests before enabling diagnostic
monitoring.
When entering the
diagnostic monitor switch
number
test
{
name
|
test-id
|
test-id-range
|
all
}
command, you must isolate network traffic by disabling all connected ports, and do not send test packets
during the test.
Examples
This example shows how to configure a health-monitoring test:
Switch(config)#
diagnostic monitor threshold switch 2 test 1 failure count 20
Switch(config)#
diagnostic monitor interval switch 2 test 1 12:30:00 750 5
Related Commands
Release
Modification
12.2(46)EY
This command was introduced.
Command
Description
show diagnostic
Displays online diagnostic test results.