PurposeCommand
Displays the diagnostic tests that are running currently.
.
show diagnostic status
Displays the online diagnostics test results.show diagnostic result module [number | all]
[detail | test {name | test-id | test-id-range | all}
[detail]]
Displays the online diagnostics test schedule.show diagnostic schedule [number | all]
Displays the POST results. (The output is the same as
the show post command output.)
show diagnostic post
Displays diagnostic events such as error, information, or
warning based on the test result.
show diagnostic events {event-type | module}
Displays the short description of the results from an
individual test or all the tests.
show diagnostic description module [number]
test { name | test-id | all }
Configuration Examples for Online Diagnostics
The following sections provide examples of online diagnostics configurations.
Examples: Start Diagnostic Tests
This example shows how to start a diagnostic test by using the test name:
Device#
diagnostic start module 3 test DiagFanTest
This example shows how to start all of the basic diagnostic tests:
Device# diagnostic start module 3 test all
Example: Configure a Health-Monitoring Test
This example shows how to configure a health-monitoring test:
Device(config)# diagnostic monitor threshold module 1 test 1 failure count 50
Device(config)# diagnostic monitor interval module 1 test TestPortAsicStackPortLoopback
Example: Schedule Diagnostic Test
This example shows how to schedule diagnostic testing for a specific day and time on a specific switch:
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
280
Configuring Online Diagnostics
Configuration Examples for Online Diagnostics