ethernet (EFM-OAM)
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
}
The EFM-OAM is disabled locally on an interface.
EFM-OAM protocol configuration mode
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.
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
| Release version | Command history |
|---|---|
| 08.0.30 | This command was introduced. |
| 08.0.61 | This command was modified to add lag lag-id options. |