Please refer the usage guidelines.
Ethernet interface configuration mode
To run this command, the Link OAM must be configured. By default, on receipt of a remote failure message, the device will only log the event through syslog. This command allows block-interface action to be configured for each of the three events that the protocol supports.
device(config-int-eth1/1)# link-oam remote-failure link-fault action block-interface device(config-int-eth1/1)# link-oam remote-failure dying-gasp action block-interface