Configuring Online Diagnostics
Command
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 switch 2 test DiagFanTest
This example shows how to start all of the basic diagnostic tests:
Device# diagnostic start switch 1 test all
Example: Configure a Health-Monitoring Test
This example shows how to configure a health-monitoring test:
Device(config)# diagnostic monitor threshold switch 1 test 1 failure count 50
Device(config)# diagnostic monitor interval switch 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:
Device(config)# diagnostic schedule test DiagThermalTest on June 3 2013
This example shows how to schedule diagnostic testing to occur weekly at a certain time on a specific switch:
Device(config)# diagnostic schedule switch 1 test 1,2,4-6 weekly saturday 10:30
Examples: Displaying Online Diagnostics
This example shows how to display on demand diagnostic settings:
Device# show diagnostic ondemand settings
Test iterations = 1
Action on test failure = continue
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
Configuration Examples for Online Diagnostics
Purpose
Displays the short description of the results from an
individual test or all the tests.
22:25
205