Cisco Catalyst 9500 Manual page 187

Hide thumbs Also See for Catalyst 9500:
Table of Contents
Configuring Online Diagnostics
Command or Action
Step 4
diagnostic monitor syslog
Example:
Device(config)# diagnostic monitor syslog
Step 5
diagnostic monitor threshold switch number number
test {name | test-id | test-id-range | all} failure count count
Example:
Device(config)# diagnostic monitor threshold
switch 2 test 1 failure count 20
Step 6
diagnostic monitor switchnumber test {name | test-id |
test-id-range | all}
Example:
Device(config)# diagnostic monitor switch 2 test
1
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
Configuring Health-Monitoring Diagnostics
Purpose
• 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 the diagnostic tests.
When specifying the interval, set these parameters:
• 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 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.
(Optional) Sets the failure threshold for the
health-monitoring test.
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 the diagnostic tests.
The range for the failure threshold count is 0 to 99.
Enables the specified health-monitoring tests.
The switch number keyword is supported only on stacking
switches.
When specifying the tests, use one of these parameters:
• name: Name of the test that appears in the show
diagnostic content command output.
173

Hide quick links:

Table of Contents
loading

Table of Contents