efm port-id
oam
This command enables Ethernet in the First Mile (EFM) OAM loopbacks on the specified port. The EFM OAM remote loopback OAMPDU will be sent to the peering device to trigger a remote loopback.
specifies the port ID in the slot/mda/port format
local-loopback {start | stop}
oam>efm
This command enables local loopback tests on the specified port.
remote-loopback {start | stop}
oam>efm
This command enables remote EFM OAM loopback tests on the specified port. The EFM OAM remote loopback OAMPDU will be sent to the peering device to trigger a remote loopback.
ethernet
config>port
This command enables access to the context to configure Ethernet port attributes.
efm-oam
config>port>ethernet
This command configures EFM OAM attributes.
[no] accept-remote-loopback
config>port>ethernet>efm-oam
This command enables reactions to loopback control OAMPDUs from peers.
The no form of this command disables reactions to loopback control OAMPDUs.
hold-time time-value
no hold-time
config>port>ethernet>efm-oam
This command sets the amount of time that EFM-OAM will wait before going from a non-operational state to an operational state.
If EFM-OAM goes from an operational state to a non-operational state (other than link-fault), it enters the hold-time period. During this time, EFM-OAM continues to negotiate with the peer if possible, but will not transition to the "up" state until the hold time has expired.
If EFM-OAM goes down because of a lower-level fault (for example, the port goes down and EFM-OAM enters the link-fault state), the hold timer is not triggered. When the lower-level fault is cleared, EFM-OAM immediately starts running on the port and transitions to the operational state as soon as possible.
If EFM-OAM goes down because the user administratively disables the protocol, EFM-OAM immediately transitions to the disabled state. When the user re-enables EFM-OAM, the protocol enters the hold time period and EFM-OAM is not operational until the hold time expires. A hold-time value of 0 indicates that EFM-OAM returns to the operational state without delay.
The hold time affects only the transition from a non-operational state to an operational state; it does not apply to a transition from an operational state to a non-operational state.
the number of seconds that EFM-OAM will wait before returning to an operational state from a non-operational state
mode {active | passive}
config>port>ethernet>efm-oam
This command configures the mode of OAM operation for this Ethernet port.
Active mode causes the port to initiate the negotiation process and continually send out EFM OAM information PDUs. Passive mode waits for the peer to initiate the negotiation process. A passive mode port cannot initiate monitoring activities (such as loopback) with the peer.
active
[no] transmit-interval interval[multiplier multiplier]
config>port>ethernet>efm-oam
This command configures the transmit interval of OAMPDUs.
specifies the transmit interval
specifies the multiplier for the transmit interval to set the local link down timer
[no] tunneling
config>port>ethernet>efm-oam
This command enables EFM OAMPDU tunneling. OAMPDU tunneling is required when a loopback is initiated from a router end and must be transported over the existing network infrastructure to the other end. Enabling tunneling will allow the PDUs to be mapped to Epipes so that the OAM frames can be tunneled over MPLS to the far end. To enable Ethernet EFM OAM 802.3ah on the port, use the efm-oam>no shutdown command. The no form of the command disables tunneling.