Configuring and Enabling LoopBack Messages
  • 10 Jul 2024
  • 3 Minutes to read
  • Contributors
  • PDF

Configuring and Enabling LoopBack Messages

  • PDF

Article summary

After configuring and enabling LoopBack messages, every MEP (if MD, MA, and MEP are configured) can transmit LoopBack messages.

CLI Configurations

To configure loopback message

  1. Execute the steps given in section 3.3.3.1 for configuring MEP respectively before sending the LBMs.

For ECFM compliant loopback feature

  1. Execute the steps given in section 3.3.6.1 to enable ECFM.

  2. Send the loopback messages to the MEP destination.
    your product# ping ethernet mac 00:02:02:03:04:03 level 7 vlan 101 count 1

Sending 1 Ethernet CFM loopback messages, timeout is 5 seconds
Success rate is 100.0 percent 1/1

your product#

For Y.1731 compliant loopback feature

  1. Execute the steps mentioned in section 3.3.8.1 to enable Y.1731.

  2. Send the loopback messages to the MEP destination.
    your product# ping ethernet mac 00:02:02:03:04:03 level 7 vlan 101 count 5

PING 00:02:02:03:04:03 from 00:01:02:03:04:03 with 0(27) bytes of data.
64 bytes from 00:02:02:03:04:03: seq_no=0 time=80 ms
64 bytes from 00:02:02:03:04:03: seq_no=1 time=80 ms
64 bytes from 00:02:02:03:04:03: seq_no=2 time=80 ms
64 bytes from 00:02:02:03:04:03: seq_no=3 time=80 ms
64 bytes from 00:02:02:03:04:03: seq_no=4 time=80 ms
--- 00:02:02:03:04:03 ping statistics ---
packets sent = 5, packets received = 5, packets lost  = 0 (0.000% loss),
unexpected received = 0, duplicate received = 0, bad received = 0,
checksum errors = 0, responders = 1, average packets per responder = 5,
rtt min/avg/max = 80/80/80 ms

your product#


Note: The above-mentioned steps are only for initiating the loopback message. The user may not get the same output. To get the same output, the target entity also needs to be configured.

For sending Loopback messages to a MEP destination using MEPID

Example: ping ethernet mpid 101 level 7 vlan 101 count 3

  • Mac Address of the MEP with specified target “mpid” must be learned prior to the execution of the command.
  • For a VLAN-UnAware MEP, vlan keyword must not be provided with the command.
  • In ECFM, “count”, if not provided, the number of loopback messages to send is considered as one.
  • In case Y.1731 is enabled,
    • If the user does not provide the target MPID and MAC Address, it will be treated as multicast loopback messages.
    • MEP at specified level and VLAN must be enabled for a loopback transaction. The loopback (ping) capability can be enabled using either set params capability enable ping (runs in ECFM MEP configuration mode) or ethernet cfm mep-capability enable level vlan ping (runs in Global Configuration mode) command.

Example:
your product(config-ether-mep)# set params capability enable ping
your productconfig)# ethernet cfm mep-capability enable level 7 vlan 101 ping

SNMP Configurations

To configure loopback message

  1. Execute the steps given in SNMP Configurations for configuring MEP before sending the LBMs.

For ECFM compliant loopback feature

  1. Execute the steps given in section SNMP Configurations to enable ECFM.

  2. Send the loopback messages to the MEP destination. [Index: ContextID = 0, MD-Index = 1, MA-Index = 1, MEP-Index = 5]

  3. Set the destination MAC address
    %snmp0 set {{fsMIEcfmMepTransmitLbmDestMacAddress.0.1.1.5 00:02:02:03:04:03 }}

  4. Set the number of LBM count (messages)
    %snmp0 set {{fsMIEcfmMepTransmitLbmMessages.0.1.1.5 1 }}

  5. Set the LBM Status as transmit
    %snmp0 set {{fsMIEcfmMepTransmitLbmStatus.0.1.1.5 transmit }}

For Y.1731 compliant loopback feature

  1. Execute the steps mentioned in Enabling Ethernet Y.1731 - SNMP Configurations to enable Y.1731.

  2. Send the Loopback messages to the MEP destination. [Index: ContextID = 0, MD-Index = 1, MA-Index = 1, MEP-Index = 5]

  3. Set the destination MAC address
    %snmp0 set {{fsMIY1731MepTransmitLbmDestMacAddress.0.1.1.5 00:02:02:03:04:03 }}

  4. Set the number of LBM count (messages)
    %snmp 0 set {{fsMIY1731MepTransmitLbmMessages.0.1.1.5 1 }}

  5. Set the LBM status as start
    %snmp0 set {{fsMIY1731MepTransmitLbmStatus.0.1.1.5 start }}


Note: In case Y.1731 is enabled, MEP at a specified level and VLAN must be enabled for a loopback transaction. The loopback (ping) capability can be enabled using the following steps

Example: [Index: ContextID = 0, MD-Index = 1, MA-Index = 1, MEP-Index = 5]
% snmp0 set {{fsMIY1731MepRowStatus.0.1.1.5 notInService }}
% snmp0 set {{fsMIY1731MepLoopbackCapability.0.1.1.5 enabled }}
% snmp0 set {{fsMIY1731MepRowStatus.0.1.1.5 active }}


© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.