EasyManua.ls Logo

Cisco Catalyst 2960 Series - Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches

Cisco Catalyst 2960 Series
2288 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PurposeCommand or Action
• hh:mm:ss—Monitoring interval in hours, minutes, and seconds. The
range for hh is 0 to 24, and the range for mm and ss is 0 to 60.
• milliseconds—Monitoring interval in milliseconds (ms). The range
is from 0 to 999.
• day—Monitoring interval in the number of days. The range is from
0 to 20.
(Optional) Configures the switch to generate a syslog message when a
health-monitoring test fails.
diagnostic monitor syslog
Example:
Switch(config)# diagnostic monitor
syslog
Step 4
(Optional) Sets the failure threshold for the health-monitoring tests.diagnostic monitor threshold switch
number test {name | test-id | test-id-range |
all} failure count count
Step 5
The switch number keyword is supported only on stacking switches. The
range is from 1 to 8.
Example:
Switch(config)# diagnostic monitor
When specifying the tests, use one of these parameters:
• name—Name of the test that appears in the show diagnostic content
command output.
threshold switch 2 test 1 failure
count 20
• test-id—ID number of the test that appears in the show diagnostic
content command output.
• test-id-range—ID numbers of the tests that appear in the show
diagnostic content command output.
• all—All of the diagnostic tests.
The range for the failure threshold count is 0 to 99.
Enables the specified health-monitoring tests.
diagnostic monitor switch number test
{name | test-id | test-id-range | all}
Step 6
The switch number keyword is supported only on stacking switches. The
range is from 1 to 9.
Example:
Switch(config)# diagnostic monitor
switch 2 test 1
When specifying the tests, use one of these parameters:
• name—Name of the test that appears in the show diagnostic content
command output.
• test-id—ID number of the test that appears in the show diagnostic
content command output.
• test-id-range—ID numbers of the tests that appear in the show
diagnostic content command output.
• all—All of the diagnostic tests.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1617
How to Configure Online Diagnostics

Table of Contents