Cisco Catalyst 9200 Configuration Manual page 152

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Configuring Health-Monitoring Diagnostics
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
Step 2
configure terminal
Example:
Device# configure terminal
Step 3
diagnostic monitor interval number test {name | test-id
| test-id-range | all} hh:mm:ss milliseconds day
Example:
Device(config)#
Step 4
diagnostic monitor syslog
Example:
Device(config)# diagnostic monitor syslog
Step 5
diagnostic monitor threshold number number test {name
| test-id | test-id-range | all} failure count count
Example:
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
138
Purpose
Enables privileged EXEC mode. Enter your password if
prompted.
Enters the global configuration mode.
Configures the health-monitoring interval of the specified
tests.
The switch number keyword is supported only on stacking
switches. The range is from 1 to 9.
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.
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 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.
(Optional) Sets the failure threshold for the
health-monitoring tests.
When specifying the tests, use one of these parameters:
Configuring Online Diagnostics

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents