ethernet (EFM-OAM)

Enables or disables EFM-OAM on an interface or multiple interfaces.
Syntax
ethernet unit/slot/port [ [ to unit/slot/port ] [ ethernet unit/slot/port [ lag lag-id to lag-id | lag lag-id ]... ] ] { active | passive | allow-loopback | remote-failure critical-event action block-interface }
no ethernet unit/slot/port [ [ to unit/slot/port ] [ ethernet unit/slot/port [ lag lag-id to lag-id | lag lag-id ]... ] ] { active | passive | allow-loopback | remote-failure critical-event action block-interface }
Command Default

The EFM-OAM is disabled locally on an interface.

Parameters
ethernet unit/slot/port
Specifies the interface.
to
Configures the range of interfaces to enable EFM-OAM.
lag lag-id
Specifies the LAG virtual interface.
active
Sets the EFM-OAM operational mode as active on the interface.
passive
Sets the EFM-OAM operational mode as passive on the interface.
allow-loopback
Enables the interface to respond to a loopback request from the remote device.
remote-failure critical-event action block-interface
Configures the device to block the remote interface upon reception of a critical event information from the remote interface.
Modes

EFM-OAM protocol configuration mode

Usage Guidelines

When the active mode is specified, the device can send OAMPDU packets over the port to initiate an EFM-OAM discovery process. For the discovery process to be initiated, the EFM-OAM protocol must be enabled.

When the passive mode is specified, the device cannot use the port to send OAMPDU packets, but can respond if it receives OAMPDUs from the remote device.

When both peers are in passive mode (abnormal configuration), EFM-OAM protocol will not converge.

The OAMPDUs and pause frames will not be looped back in the loopback mode. All other Layer 2 protocol packets will be looped back if received on a loopbacked interface.

The no form of the command disables the EFM-OAM locally on the specified interface.

Examples

The following example enables EFM-OAM on an interface and sets it to active mode.

device(config)# link-oam
device(config-link-oam)# ethernet 1/1/3 active

The following example enables EFM-OAM on a range of interfaces and sets them to active mode.

device(config)# link-oam
device(config-link-oam)# ethernet 1/1/4 to 1/1/8 active

The following example enables EFM-OAM on an interface and sets it to passive mode.

device(config)# link-oam
device(config-link-oam)# ethernet 2/1/1 passive

The following example enables EFM-OAM on a range of interfaces and sets them to passive mode.

device(config)# link-oam
device(config-link-oam)# ethernet 2/1/1 to 2/1/6 passive

The following example configures the interface to respond to the loopback request from the remote device.

device(config)# link-oam
device(config-link-oam)# ethernet 1/1/3 allow-loopback

The following example sets the device to block the interface when a critical event failure condition is detected.

device(config)# link-oam
device(config-link-oam)# ethernet 2/1/1 remote-failure critical-event action block-interface
History
Release version Command history
08.0.30 This command was introduced.
08.0.61 This command was modified to add lag lag-id options.