Configuring the action a port takes after it receives an Ethernet OAM event from the remote end
About this feature
This feature enables a port to log events and automatically terminate the OAM connection and set the link state to down.
Procedure
Enter system view.
system-view
Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
Configure the action the port takes after it receives an Ethernet OAM event from the remote end.
oam remote-failure { connection-expired | critical-event | dying-gasp | link-fault } action error-link-down
By default, the port only logs the Ethernet OAM event it receives from the remote end.