Purpose
Command
Displays the online diagnostics test results.
show diagnostic result switch
[
number
|
all
] [
detail
|
test
{
name
|
test-id
|
test-id-range
|
all
} [
detail
]]
Displays the online diagnostics test results.
show diagnostic switch
[
number
|
all
] [
detail
]
The below command applies to the C9500-12Q, C9500-16X,
C9500-24Q, C9500-40X models of the Cisco Catalyst 9500
Series Switches.
show diagnostic 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
The below command applies to the C9500-12Q, C9500-16X,
C9500-24Q, C9500-40X models of the Cisco Catalyst 9500
Series Switches.
show 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 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:
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
175
Configuring Online Diagnostics
Configuration Examples for Online Diagnostics