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