To enable or disable the Connectivity Fault Management (CFM) protocol globally on the devices and enter into the CFM protocol configuration mode, enter the following command.
device# configure terminal device(config)# protocol cfm device(config-cfm)#
The no form of the command disables the CFM protocol.