System information

Chapter 3 Initially Configuring the ATM Switch Router
Configuring Online Diagnostics (Catalyst 8540 MSR)
3-20
ATM Switch Router Software Configuration Guide
78-6277-03, Cisco IOS Release 12.0(13)W5(19)
OIR Test (Catalyst 8540 MSR)
Online insertion and removal (OIR) tests check the functioning of the switch fabric and interfaces on a
per-port basis. The switch router performs these tests when the system boots up and when you insert a
port adapter or interface module into a slot. The OIR test sends a packet to the interface loopback and
expects to receive it back within a certain time period. If the packet does not reach the port within the
expected time period, or the route processor receives a corrupted packet, the system issues an error
message to the console, generates an SNMP trap, and brings the port to an administrative down state.
Note The size of the packet used in the test is configurable.
The OIR tests support all ATM port adapters, all ATM interface modules, and all Layer 3 interface
modules except the 8-port Gigabit Ethernet. It does not support ATM router modules.
Snake Test (Catalyst 8540 MSR)
The snake test detects and reports port-to-port connectivity failures. The snake test establishes a
connection across all the active ports in the switch router, originating and terminating at the primary
route processor. The route processor establishes a connection by sending a packet to each port in turn,
which then terminates at the route processor. If the packet does not reach the route processor within the
expected time period, or the received packet is corrupted, further testing is performed to isolate and
disable the port causing the problem.The size of the packet and frequency of the test are configurable
to minimize the impact on system performance.
The snake test supports all ATM interface modules and enhanced Gigabit Ethernet interface modules.
It does not support ATM port adapters, ATM router modules, 16-port 10/100 Fast Ethernet interface
modules, 2-port Gigabit Ethernet interface modules, or 8-port Gigabit Ethernet interface modules.
Note The snake test does not support ATM port adapters because of a hardware limitation in the
carrier module.
Configuring Online Diagnostics (Catalyst 8540 MSR)
To configure online diagnostics, use the following global configuration commands:
Command Purpose
diag online Enables all of the online diagnostic tests.
diag online access Enables only the access diagnostic test.
diag online access freq [seconds] Configures the frequency of the access 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.