--- title: "Configuring and Enabling Lock Messages" slug: "configuring-and-enabling-lock-messages" 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-lock-messages" --- > ## 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 Lock Messages This article describes the steps to configure and enable the transmission of LCK PDU by an MEP. #### CLI Configurations **To configure and enable LCK message** 1. Execute the steps given in *CLI Configurations* to configure MEP before sending the LCK messages. 2. Execute the steps given in *CLI Configurations* to enable ECFM and Y.1731 on the interface at which MEP is configured. 3. Configure client layer level. **your product# configure terminal** **your product(config)# ethernet cfm domain name TestDomain***1* **level** *3* **your product (config-ether-ecfm)# client-layer-level** *6* **your product# end** 4. Enable LCK capability on the MEP, so that when any defect occurs, the MEP starts transmitting the LCK to all the MEP(s) configured at the client layer level. **your product# configure terminal** **your product(config)# interface** *gigabitethernet 0/10* **your product(config-if)# ethernet cfm mep level** *3* **inward mpid** *4* **vlan** *5* **active** **your product(config-ether-mep)# set out-of-service enable** **your product(config-ether-mep)# end** --- ***Notes:** Client layer level must be configured before enabling LCK capability. Client layer level should be greater than the server level. LCK can be sent as unicast messages by configuring its unicast MAC address using the set client-layer-mac lck unicast command. (This command runs in ECFM Mep configuration Mode.) Example:* **set client-layer-mac lck unicast** *00:01:02:03:04:06* --- **© 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)