--- title: "Configuring and Enabling Frame Loss Measurement" slug: "configuring-and-enabling-frame-loss-measurement" tags: ["ECFM ", "Single Instance", "flex 100"] updated: 2024-07-10T14:59:56Z published: 2024-09-03T19:24:58Z canonical: "docs.crossworkassurance.cisco.com/configuring-and-enabling-frame-loss-measurement" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring and Enabling Frame Loss Measurement This article describes the steps to configure and enable the transmission and reception of Frame loss PDU by an MEP. Frame Loss can be measured using either of the following methods: - Dual-ended using CCM messages - Single-ended using LMM/LMR messages #### CLI Configurations **To configure and enable frame loss measurement** 1. Execute the steps given in *CLI Configurations* to configure MEP before sending the frame loss messages. 2. Execute the steps given in *CLI Configurations* to enable ECFM and Y.1731. 3. Measure frame loss using: - Single-ended method Send the message to an MEP using the destination’s MAC address. **your product# ethernet cfm frame loss start level** *7* **vlan** *101* **mac** *00:02:02:03:04:03* **count** *5* OR - Dual-ended method Configure the CC unicast MAC address. This is the MAC address of the remote MEP with which the frame loss is to be measured. **your product# configure terminal** **your product(config)# interface** *gigabitethernet 0/1* **your product(config-if)# ethernet cfm mep level** *7* **mpid** *1* **vlan** *101* **active** **your product(config-ether-mep)# set ccm- mac unicast** *00:02:02:03:04:03* **your product(config-ether-mep)# end** Send the message to measure frame loss by setting the role as **performance-monitoring**. **your product# configure terminal** **your product(config)# ethernet cfm cc level** *7* **vlan** *101* **role** *performance-monitoring* **your product(config)# end** **To stop frame loss measurement** 1. Stop the single-ended frame loss measurement by: - Configuring the count or deadline parameter while initiating the loss measurement OR - Using the ethernet cfm frame loss stop level vlan command 1. Stop dual-ended frame loss measurement by: - Disabling CC transmission **your product# configure terminal** **your product(config)# no ethernet cfm cc enable** **level** *7* **vlan** *101* **your product(config)# end** OR - Changing the CC role to a role other than performance monitoring **your product# configure terminal** **your product(config)# ethernet cfm cc level** *7* **vlan** *101* **role** *fault-management* **your productconfig)# end** --- ***Note:** The above-mentioned steps are only for initiating the frame loss message. User may not get the same output. To get the same output, the target entity also needs to be configured.* --- **For sending a Frame Loss message to an MEP using destination’s MEPID** Example: **ethernet cfm frame loss start level** *7* **vlan** *101* **mpid** *2* **count** *5* - MAC Address of 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. - ECFM and Y.1731 should be enabled for successful frame loss message transmission. - At a time, MEP can perform only one type of loss measurement. - **count** and b, if not provided, assumes an infinite number of frame loss messages to send. - User can view the result of loss measurement using **show ethernet cfm frame loss buffer command**. - CC Performance monitoring should be enabled on all the MEPs involved in dual-ended frame loss measurement. #### SNMP Configurations **To configure and enable frame loss measurement** 1. Execute the steps given in *SNMP Configurations* to configure MEP before sending the frame loss messages. 2. Execute the steps given in *SNMP Configurations* to enable ECFM and Y.1731. 3. Measure frame loss using: - Single-ended method [Index: ContextID = 0, MD-Index = 1, MA-Index = 1, MEP-Index = 5] Send the message to an MEP using destination MAC address. **% snmp***0* **set {{fsMIY1731MepTransmitLmmDestIsMepId**.*0.1.1.5 false* **}}** **%snmp***0* **set {{fsMIY1731MepTransmitLmmDestMacAddress**.*0.1.1.5 00:02:02:03:04:0a* **}}** **% snmp***0* **set {{fsMIY1731MepTransmitLmmMessages**.*0.1.1.5 5* **}}** **% snmp***0* **set {{fsMIY1731MepTransmitLmmStatus**.*0.1.1.5 start* **}}** OR - Dual-ended method Configure the CC unicast MAC address. This is the MAC address of the remote MEP with which the frame loss is to be measured. [Index: ContextID = 0, MD-Index = 1, MA-Index = 1, MEP-Index = 5] **% snmp**0 **set {{fsMIEcfmMepRowStatus**.*0.1.1.5 notInService* **}}** **% snmp**0 **set {{fsMIY1731MepUnicastCcmMacAddress**.*0.1.1.5 00:02:02:03:04:0a* **}}** **% snmp**0 **set {{fsMIEcfmMepRowStatus**.*0.1.1.5 active* **}}** Send the message to measure frame loss by setting the role as performance-monitoring. [Index: ContextID = 0, MD-Index = 1, MA-Index = 1] **% snmp***0* **set {{fsMIY1731MeRowStatus**.*0.1.1 notInService* **}}** **% snmp***0* **set {{fsMIY1731MeCcmApplication**.*0.1.1 ccPerformanceMonitoring* **}}** **% snmp***0* **set {{fsMIY1731MeCciEnabled**.*0.1.1 true* **}}** **% snmp***0* **set {{fsMIY1731MeRowStatus**.*0.1.1 active* **}}** **To stop frame loss measurement** 1. Stop single-ended frame loss measurement by: - Configuring the number of messages or deadline parameter while initiating the loss measurement. [Index: ContextID = 0, MD-Index = 1, MA-Index = 1, MEP-Index = 5] **% snmp***0* **set {{fsMIY1731MepTransmitLmmMessages**.*0.1.1.5 5* }} **% snmp***0* **set {{fsMIY1731MepTransmitLmmDeadline**.*0.1.1.5 10* }} OR - Configuring the transmit status as stop: [Index: ContextID = 0, MD-Index = 1, MA-Index = 1, MEP-Index = 5] **% snmp***0* **set {{fsMIY1731MepTransmitLmmStatus**.*0.1.1.5 stop* **}}** 1. Stop dual-ended frame loss measurement by: - Disabling CC transmission. [Index: ContextID = 0, MD-Index = 1, MA-Index = 1] **% snmp***0* **set {{fsMIY1731MeRowStatus**.*0.1.1 notInService* **}}** **% snmp***0* **set {{fsMIY1731MeCciEnabled**.*0.1.1 false* **}}** **% snmp***0* **set {{fsMIY1731MeRowStatus**.*0.1.1 active* **}}** OR - Changing the CC role to role other than performance monitoring. [Index: ContextID = 0, MD-Index = 1, MA-Index = 1] **% snmp***0* **set {{fsMIY1731MeRowStatus**.*0.1.1 notInService***}}** **% snmp***0* **set {{fsMIY1731MeCcmApplication**.*0.1.1 ccFaultManagement***}}** **% snmp***0* **set {{fsMIY1731MeRowStatus**.*0.1.1 active***}}** **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)