Configuring OAM

This section explains:

Configuring F4 OAM

The ATM interface does not support sending F4 segment loopback cells, but it does respond to F4 segment loopback cells that it receives.

F4 OAM flows need their own channel, and they are identified by the VCI on which they are sent or received. The following VCIs are reserved for F4 OAM flows for each virtual path, and you cannot open PVCs on them:

To set up F4 OAM:

  1. Enable F4 OAM on an interface or VP. The router enables F4 OAM at the interface level unless you specify a VPI. This example opens both segment and end-to-end F4 OAM circuits on VPI 10.
    host1(config-if)#atm oam 10
  2. (Optional) Enable only segment or end-to-end loopback.
    host1(config-if)#atm oam 10 seg-loopback host1(config-if)#atm oam 10 end-loopback
  3. (Optional) To cause the interface to generate end-to-end loopback cells in addition to receiving and responding to them, set the loopback timer.
    host1(config-if)#atm oam 10 end-loopback loopback-timer 20
  4. (Optional) Enable CC cell flows.
    host1(config-if)#atm oam 10 seg-loopback cc source

atm oam

Configuring F5 OAM

F5 OAM flows run over existing PVCs. The ATM interface does not support sending F5 segment loopback cells, but it does respond to F5 segment loopback cells that it receives.

Note: You cannot enable both loopback cells and CC cells at the same time.

To set up F5 OAM:

  1. To enable VC integrity, which causes the ATM interface to periodically send F5 end-to-end loopback cells over a VC, use the oam keyword with the atm pvc command.

    You can include the frequency (in seconds) with which the router sends F5 end-to-end loopback cells.

    host1(config-if)#atm pvc 98 38 22 aal5snap oam 300
  2. (Optional) To enable CC cell flows on a circuit, use the cc keyword with the atm pvc command. You can enable cell flows on a segment or end-to-end basis, and you can enable the PVC as a sink, source, or both a sink and a source.
    host1(config-if)#atm pvc 50 0 50 aal5snap oam cc end-to-end sink

When you issue the appropriate shutdown command to change the administrative status of the corresponding ATM interface, ATM AAL5 interface, or ATM 1483 subinterface from enabled to disabled, the router automatically disables all F5 OAM services configured on the associated VC. For more information, see Automatic Disabling of F5 OAM Services.

atm pvc

Setting a Loopback Location ID

To enable other nodes to specifically send OAM loopback cells to the ATM interface, set the location ID of the ATM interface or circuit.

host1(config-if)#atm oam loopback-location 01090708

Note: Because the router is a connection endpoint, the default loopback location ID is all 1s (ones). This command enables you to specify a nondefault value.

atm oam loopback-location

Enabling OAM Flush

You can use the atm oam flush command to enable the OAM flush feature for an ATM interface. When OAM flush is enabled, the router ignores all OAM cells received on the interface, and stops sending OAM cells on this interface.

You can also issue the atm oam flush command with the optional alarm-cells keyword to cause the router to ignore only AIS and RDI cells and to accept all other OAM cells. This is useful in diagnostic situations when you might want to exclude alarm conditions.

Note: The OAM flush feature is supported on all E Series ATM module combinations.

atm oam flush

Running ATM Ping

Keep in mind the following when you use ATM ping:

ping atm interface atm