--- title: "Checking Alarm Indication Signal and Locked Features" slug: "checking-alarm-indication-signal-and-locked-features" tags: ["ECFM ", "alarm", "provider bridges", "flex 100"] updated: 2024-07-10T15:00:14Z published: 2024-09-03T19:25:31Z canonical: "docs.crossworkassurance.cisco.com/checking-alarm-indication-signal-and-locked-features" --- > ## 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. # Checking Alarm Indication Signal and Locked Features This article describes how to enable the Alarm Indication Signal (**AIS**) and Locked (**LCK**) features. ### CLI Configurations **At Switch6** - Verify CCM errors ``` your product# show ethernet cfm errors ``` Shows no link failure, as no error is detected at Switch 6 - Make interface P3, P4 as down, to raise a defect/fault in sample topology. ``` your product(config)# interface gigabitethernet 0/3 your product(config-if)# shutdown your product(config-if)# exit your product(config)# interface gigabitethernet 0/4 your product(config-if)# shutdown ``` - Verify CCM errors. ``` your product# show ethernet cfm errors MEP-ID : 4 Level VLAN RMEP-ID Current defect type ----- ---- ------- ------------------- 4 4 3 loss of continuity MEP-ID : 5 Level VLAN RMEP-ID Current defect type ----- ---- ------- ------------------- 2 4 6 loss of continuity ``` Shows link failure, as an error is detected at Switch 6 - Configure client layer level for domain OQ2. ``` your product# configure terminal your product(config)# ethernet cfm domain name OQ2 level 2 your product(config-ether-ecfm)# client-layer-level 4 your product(config-ether-ecfm)# exit ``` - Configure AIS capability for MEPID 5. ``` your product(config)# interface gigabitethernet 0/2 your product(config-if)# ethernet cfm mep level 2 inward mpid 5 vlan 4 active your product(config-ether-mep)# set ais enable your product(config-ether-mep)# end ``` - Verify whether the AIS condition is received at MEPID 4 at level 4 and VLAN 4. ``` your product# show ethernet cfm errors MEP-ID : 4 Level VLAN RMEP-ID Current defect type ----- ---- ------- ------------------- 4 4 3 loss of continuity 4 4 - ais condition MEP-ID : 5 Level VLAN RMEP-ID Current defect type ----- ---- ------- ------------------- 2 4 6 loss of continuity ``` - Make interface P3, P4 as up, to check if there is any link failure (error/fault/defect). ``` your product(config)# interface gigabitethernet 0/3 your product(config-if)# no shutdown your product(config-if)# exit your product(config)# interface gigabitethernet 0/4 your product(config-if)# no shutdown ``` - Wait for 15 seconds and check link failure (error/fault/defect). - Verify CCM errors. ``` your product# show ethernet cfm errors your product# ``` Shows no link failure, as no error is detected at Switch 6. - Disable AIS capability for MEPID 5. ``` your product(config)# interface gigabitethernet 0/2 your product(config-if)# ethernet cfm mep level 2 inward mpid 5 vlan 4 active your product(config-ether-mep)# set ais disable your product(config-ether-mep)# end ``` - Make interface P3 and P4 as down, to raise a defect/fault in sample topology. ``` your product(config)# interface gigabitethernet 0/3 your product(config-if)# shutdown your product(config-if)# exit your product(config)# interface gigabitethernet 0/4 your product(config-if)# shutdown ``` - Verify CCM errors at Switch 6. ``` your product# show ethernet cfm errors MEP-ID : 4 Level VLAN RMEP-ID Current defect type ----- ---- ------- ------------------- 4 4 3 loss of continuity MEP-ID : 5 Level VLAN RMEP-ID Current defect type ----- ---- ------- ------------------- 2 4 6 loss of continuity ``` Shows link failure, as an error is detected at Switch 6. - Configure MEPID 5 as out-of-service. ``` your product(config)# interface gigabitethernet 0/2 your product(config-if)# ethernet cfm mep level 2 inward mpid 5 vlan 4 active your product(config-ether-mep)# set out-of-service enable your product(config-ether-mep)# end ``` - Verify whether the defect for MEPID 4 at level 4 and VLAN 4 is suppressed. ``` your product# show ethernet cfm errors MEP-ID : 4 Level VLAN RMEP-ID Current defect type ----- ---- ------- ------------------- 4 4 3 loss of continuity 4 4 - lck condition MEP-ID : 5 Level VLAN RMEP-ID Current defect type ----- ---- ------- ------------------- 2 4 6 loss of continuity ``` - Verify whether the LCK condition exists for MEPID 4 at level 4 and VLAN 4. ``` your product# show ethernet cfm maintenance-point local detail mpid 4 ------------------------------------------------------ MPID: 4 MdLevel: 4 VLAN: 4 Dir: Up ------------------------------------------------------ Client MEG Level :Not Configured Off-Load Status :Disabled Out-Of-Service (LCK) -------------------- Status :Un-Locked(In-Service) Condition :Exist Remote Defect Indication (RDI) ------------------------------ Capability :Enabled Period :Not Configured Loopback (LB) ------------- Capability :Enabled Multicast LBM Reception Capability :Disabled Test Signal (TST) ----------------- Multicast TST Reception Capability :Disabled Alarm Indication Signal (AIS) ----------------------------- Capability :Disabled Condition :Does not exist Delay Measurement (DM) ---------------------- One-Way DM Reception Capability :Enabled One-Way DM Transaction Interval :Not Configured Dmr Optional Fields :Not Included Delay Threshold :200 microseconds Frame Loss Measurement (LM) ---------------------------- Near-End Loss Threshold :Not Configured Far-End Loss Threshold :Not Configured ``` ### SNMP Configurations **At Switch6** - Verify CCM errors. ``` [Index: ContextID = 0, MD-Index = 2, MA-Index = 2, MEP-ID = 4] % snmp0 get {fsMIEcfmMepDefects.0.2.2.4} {1.3.6.1.4.1.2076.160.1.0.7.1.14.0.2.2.4 {OCTET STRING} 00} [Index: ContextID = 0, MD-Index = 3, MA-Index = 3, MEP-ID = 5] % snmp0 get {fsMIEcfmMepDefects.0.3.3.5} {1.3.6.1.4.1.2076.160.1.0.7.1.14.0.3.3.5 {OCTET STRING} 00} ``` Shows no link failure, as no error is detected at Switch 6. - Make interface P3, P4 as down, to raise a defect/fault in sample topology. ``` [Index: Interface Number = 3] % snmp0 set {{ifMainAdminStatus.3 down}} [Index: Interface Number = 4] % snmp0 set {{ifMainAdminStatus.4 down}} ``` - Verify CCM errors. ``` [Index: ContextID = 0, MD-Index = 2, MA-Index = 2, MEP-ID = 4] % snmp0 get {fsMIEcfmMepDefects.0.2.2.4} {1.3.6.1.4.1.2076.160.1.0.7.1.14.0.2.2.4 {OCTET STRING} 20} [Index: ContextID = 0, MD-Index = 3, MA-Index = 3, MEP-ID = 5] % snmp0 get {fsMIEcfmMepDefects.0.3.3.5} {1.3.6.1.4.1.2076.160.1.0.7.1.14.0.3.3.5 {OCTET STRING} 20} ``` Shows link failure, as an error is detected. - Configure client layer level for domain OQ2. [Index: ContextID = 0, MD-Index = 3] ``` % snmp0 set {{fsMIY1731MegRowStatus.0.3 notInService}} % snmp0 set {{fsMIY1731MegClientMEGLevel.0.3 4}} % snmp0 set {{fsMIY1731MegRowStatus.0.3 active}} ``` - Configure AIS capability for MEPID 5. [Index: ContextID = 0, MD-Index = 3, MA-Index = 3, MEP-ID = 5] ``` % snmp0 set {{fsMIY1731MepRowStatus.0.3.3.5 notInService}} % snmp0 set {{fsMIY1731MepAisCapability.0.3.3.5 enabled}} % snmp0 set {{fsMIY1731MepRowStatus.0.3.3.5 active}} ``` - Verify whether the AIS condition is set for MEPID 4 at level 4 and VLAN 4. [Index: ContextID = 0, MD-Index = 2, MA-Index = 2, MEP-ID = 4] ``` % snmp0 get {{fsMIY1731MepAisCondition.0.2.2.4}} {1.3.6.1.4.1.29601.2.7.1.2.4.1.91.0.2.2.4 INTEGER true} ``` - Make interface P3, P4 as up, to check if there is any link failure (error/fault/defect). - [Index: Interface Number = 3] - % snmp0 set {{ifMainAdminStatus.3 up}} - [Index: Interface Number = 4] - % snmp0 set {{ifMainAdminStatus.4 up}} - Wait for 15 seconds and check link failure (error/fault/defect). - Verify CCM errors. ``` [Index: ContextID = 0, MD-Index = 2, MA-Index = 2, MEP-ID = 4] % snmp0 get {fsMIEcfmMepDefects.0.2.2.4} {1.3.6.1.4.1.2076.160.1.0.7.1.14.0.2.2.4 {OCTET STRING} 00} [Index: ContextID = 0, MD-Index = 3, MA-Index = 3, MEP-ID = 5] % snmp0 get {fsMIEcfmMepDefects.0.3.3.5} {1.3.6.1.4.1.2076.160.1.0.7.1.14.0.3.3.5 {OCTET STRING} 00} ``` Shows no link failure, as no error is detected at Switch 6. - Disable AIS capability for MEPID 5. [Index: ContextID = 0, MD-Index = 3, MA-Index = 3, MEP-ID = 5] ``` % snmp0 set {{fsMIY1731MepRowStatus.0.3.3.5 notInService}} % snmp0 set {{fsMIY1731MepAisCapability.0.3.3.5 disabled}} % snmp0 set {{fsMIY1731MepRowStatus.0.3.3.5 active}} ``` - Make interface P3, P4 as down, to raise a defect/fault in sample topology. ``` [Index: Interface Number = 3] % snmp0 set {{ifMainAdminStatus.3 down}} [Index: Interface Number = 4] % snmp0 set {{ifMainAdminStatus.4 down}} ``` - Verify CCM errors. ``` [Index: ContextID = 0, MD-Index = 2, MA-Index = 2, MEP-ID = 4] % snmp0 get {fsMIEcfmMepDefects.0.2.2.4} {1.3.6.1.4.1.2076.160.1.0.7.1.14.0.2.2.4 {OCTET STRING} 20} [Index: ContextID = 0, MD-Index = 3, MA-Index = 3, MEP-ID = 5] % snmp0 get {fsMIEcfmMepDefects.0.3.3.5} {1.3.6.1.4.1.2076.160.1.0.7.1.14.0.3.3.5 {OCTET STRING} 20} ``` Shows no link failure, as no error is detected at Switch 6. - Configure MEPID 5 as out-of-service. [Index: ContextID = 0, MD-Index = 3, MA-Index = 3, MEP-ID = 5] ``` % snmp0 set {{fsMIY1731MepOutOfService.0.3.3.5 true}} ``` - Verify whether the LCK condition exists for MEPID 4 at level 4 and VLAN 4. [Index: ContextID = 0, MD-Index = 3, MA-Index = 3, MEP-ID = 5] ``` % snmp0 get {fsMIY1731MepOutOfService.0.3.3.5} {1.3.6.1.4.1.29601.2.7.1.2.4.1.2.0.3.3.5 INTEGER true} ``` **© 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)