A first maintenance endpoint "MEP" device, comprising: one or more processors adapted to: detect a connectivity failure based on a message associated with a customer edge device; identify that a first interface of the first MEP device is associated with the connectivity failure based on detecting the connectivity failure; provide, to a second MEP device, a first continuity check message "CCM", that includes a MEP identifier of the first MEP device, based on identifying that the first interface of the first MEP device is associated with the connectivity failure , the first CCM to cause the second MEP device to designate a second interface of the second MEP device as being offline; identify that the first interface of the first MEP device is no longer associated with the connectivity failure; receive, from the second MEP device, a second CCM, that includes the MEP identifier of the first MEP device and information indicating that the second interface of the second MEP device is offline, based on the second MEP device designating the second interface of the second MEP device as being offline ; and execute a rule to avoid a deadlock situation based on the second CCM including the MEP identifier of the first MEP device , where the rule, when executed, causes the first MEP device to prevent the first interface from being designated as offline based on the second CCM; and provide, to the second MEP device, a third CCM, that identifies that the first interface is online, based on identifying that the first interface of the first MEP device is no longer associated with the connectivity failure, the second MEP device to designate the second interface as being online based on the third CCM detect a connectivity failure based on a message associated with a customer edge device; identify that a first interface of the first MEP device is associated with the connectivity failure based on detecting the connectivity failure; provide, to a second MEP device, a first continuity check message "CCM", that includes a MEP identifier of the first MEP device, based on identifying that the first interface of the first MEP device is associated with the connectivity failure , the first CCM to cause the second MEP device to designate a second interface of the second MEP device as being offline; identify that the first interface of the first MEP device is no longer associated with the connectivity failure; receive, from the second MEP device, a second CCM, that includes the MEP identifier of the first MEP device and information indicating that the second interface of the second MEP device is offline, based on the second MEP device designating the second interface of the second MEP device as being offline ; and execute a rule to avoid a deadlock situation based on the second CCM including the MEP identifier of the first MEP device , where the rule, when executed, causes the first MEP device to prevent the first interface from being designated as offline based on the second CCM; and provide, to the second MEP device, a third CCM, that identifies that the first interface is online, based on identifying that the first interface of the first MEP device is no longer associated with the connectivity failure, the second MEP device to designate the second interface as being online based on the third CCM <EOS>