loopback

Use this command to transmit CFM loopback messages to the specified MEP or MAC address.

Syntax

loopback {mep mep-id | mac mac-addr} [messages num-messages] [priority priority] [data data]

Parameters

mep mep-id Specifies the MEP to send the loopback messages to.
mac mac-addr Specifies the MAC address of the device to send the loopback messages to. Valid values are MAC addresses in the address format: xx-xx-xx-xx-xx-xx or xx:xx:xx:xx:xx:xx or xxxx.xxxx.xxxx where x is a hex value.
messages num-messages (Optional) Specifies the number of loopback messages to transmit. Valid values are 1 - 1024. Default value is 1.
priority priority (Optional) Specifies the priority to be used in the VLAN tag. Valid values are 0 - 7. The default value is the continuity check message priority value (see priority).
data data (Optional) Specifies the data to be included in the Data TLV.

Defaults

  • The number of loopback messages transmitted defaults to 1.
  • The priority used in the VLAN tag defaults to the continuity check message priority value.
  • If the data option is not specified, no data is sent with the Data TLV.

Mode

Maintenance End-Point Configuration mode.

Usage

The loopback protocol sends loopback messages (LBM) to either a specified maintenance end-point (MEP) or to the MAC address of a maintenance intermediate-point (MIP). The CFM loopback protocol displays whether there is connectivity between the initiating device and the target device. If an operational path to the MEP or MIP exists, the remote MEP or MIP will respond. If no response is received by the source MEP, no operational path exists. If no response is received use linktrace to help verify where in the path the problem occurred.

The LBM priority can be configured using the priority option. The linktrace message shares the same priority as the continuity check message and can not be separately configured.

The mep option requires that the remote MEP has already communicated with this MEP and there is an entry in the MEP database for the remote MEP. The loopback will fail if the mep option is used and the remote MEP has not yet communicated with this MEP.

Example

This example shows how to send 5 loopback messages to MAC address 01:3a:b2:af:65:de from the myMA1 MEP 1000:

System(rw-config)->cfm md string-name myMD1
System(su-config-cfm-md.1)->ma string-name myMA1
System(su-config-cfm-ma.1)->mep 1000
System(su-config-cfm-mep.1000)->loopback mac 01:3a:b2:af:65:de messages 5
Sending 5 Ethernet CFM loopback messages to 01-3a-b2-af-65-de
...
Success rate is 100 percent (5/5)
System(su-config-cfm-mep.1000)->