oam remote-failure action

Use oam remote-failure action to configure the action the port takes after it receives an Ethernet OAM event from the remote end.

Use undo oam remote-failure action to restore the default.

Syntax

oam remote-failure { connection-expired | critical-event | dying-gasp | link-fault } action error-link-down

undo oam remote-failure { connection-expired | critical-event | dying-gasp | link-fault } action error-link-down

Default

The port only logs the Ethernet OAM event it receives from the remote end.

Views

Layer 2 Ethernet port view, Layer 2 Ethernet port view

Predefined user roles

network-admin

mdc-admin

Parameters

connection-expired: Specifies a connection timeout fault.

critical-event: Specifies a critical fault.

dying-gasp: Specifies a fatal fault.

link-fault: Specifies a link fault.

error-link-down: Terminates the OAM connection, and sets the link state of the port to down.

Examples

# Configure Ten-GigabitEthernet 1/0/1 to terminate the OAM connection after it receives a fatal fault from the remote end, and set the link state of the port to down.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] oam remote-failure dying-gasp action error-link-down