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

  1. Enter system view.

    system-view

  2. Enter Layer 2/Layer 3 Ethernet port view.

    interface interface-type interface-number

  3. 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.