Troubleshooting guide

3-3
ATM and Layer 3 Switch Router Troubleshooting Guide
OL-1969-01
Chapter 3 Initial Troubleshooting
Online Diagnostics
Examples
The following example shows how to enable all online diagnostic tests:
Router(config)# diag online
ONLINE-DIAG: Enabling all Online Diagnostics tests
The following example shows how to change the frequency of the access test:
Router(config)# diag online access freq 20
ONLINE-DIAG: Online Access Test Frequency set to 20 sec
Displaying the Online Diagnostics Configuration and Results (Catalyst 8540 CSR)
To display the online diagnostics configuration and results, use the following EXEC command:
Example
The following example shows how to display detailed access test information:
Switch# show diag online details access
======== Online Access Test Details ========
Current Test Status : Test is Enabled
Current Frequency of Access Test : 10 seconds
Slot Card-Type Iteration Success Failure Last Failure
---- ---------- ---------- ------- ------- ------------
0/* K1 GIGETHERNET 114536 114536 0 ----
1/* CMPM Card 114536 114536 0 ----
1/0 XPIF POS OC12 P 114536 114536 0 ----
2/* CMPM Card 114536 114536 0 ----
2/0 XPIF POS OC12 P 114536 114536 0 ----
diag online access freq [seconds] Configures the frequency of the accessibility
diagnostic tests. The default frequency is every
10 seconds.
diag online oir Enables only the OIR test.
diag online oir pktsize [bytes] Specifies the packet size for the OIR test. The
default size is 1000 bytes.
diag online snake Enables only the snake test.
diag online snake timer [seconds] Specifies the time interval for the snake test. The
default interval is 10 seconds.
no diag online [access | oir | snake] Disables the online diagnostic tests.
clear counters diag online {access | oir | snake |
all}
Clears the online diagnostic test counters.
debug diag online [access | oir | snake] Enables debugging of online diagnostic tests.
no debug diag online [access | oir | snake] Disables debugging of online diagnostic tests.
Command Purpose
Command Purpose
show diag online [details | status] [access | oir |
snake]
Displays information about the online
diagnostics tests and the test results.