The oam-bind interface efm interface trigger if-down command enables bidirectional transmission of fault messages between an interface and EFM OAM.
The undo oam-bind interface efm interface trigger if-down command cancels the configuration.
By default, bidirectional transmission of information about a fault between an interface and EFM OAM is not configured.
oam-bind interface interface-type1 interface-number1 efm interface interface-type2 interface-number2 trigger if-down
undo oam-bind interface interface-type1 interface-number1 efm interface interface-type2 interface-number2 trigger if-down
Parameter | Description | Value |
---|---|---|
interface-type1 interface-number1 | Specifies the type and number of the interface enabled with EFM.
|
- |
interface-type2 interface-number2 | Specifies the type and number of the interface bound to an EFM session.
|
- |
Usage Scenario
If an inward MEP is configured, bidirectional association between EFM and an EFM-incapable interface of a device can be configured in the OAM management view. This ensures that service traffic can be switched to the backup link if the primary link fails.
After EFM OAM detects a fault, the OAM module notifies the interface associated with EFM OAM of the fault. Then the interface goes Down. After EFM detects that the fault is rectified, the OAM module notifies the interface associated with EFM OAM. Then the interface goes Up.
After the interface goes Down, the OAM module notifies EFM OAM of the interface Down event.
oam-bind efm interface trigger if-down interface
oam-bind interface efm interface trigger if-down
oam-bind ingress efm interface trigger if-down egress interface
oam-bind ingress interface egress efm interface trigger if-down
Scenario |
Configuration Solution 1 |
Configuration Solution 2 |
---|---|---|
Bidirectional fault notification between EFM and an interface | Choose either of the following commands (the two commands have the same function):
NOTE:
After configuring bidirectional fault notification between EFM and an interface, run the display current-configuration command to view the current configuration. The display current-configuration command displays oam-bind ingress interface egress efm interface trigger if-down and oam-bind ingress efm interface trigger if-down egress interface commands, but does not display the oam-bind efm interface trigger if-down interface or oam-bind interface efm interface trigger if-down command. The displayed commands configure reverse transmission directions of fault information. |
Run the following commands at a random order:
|
Unidirectional fault notification between EFM and an interface | Choose either of the following commands based on the transmission direction:
|
None |
Prerequisites
Basic EFM OAM functions have been configured.
Precautions
When configuring bidirectional transmission of fault messages between EFM and an interface, pay attention to the following points:
EFM has been enabled on the interface specified by efm interface interface-type2 interface-number2.
EFM and the interface are associated with each other. After an interface is associated with an EFM session, the interface cannot be associated with other EFM sessions. Similarly, when EFM is bound to an interface, EFM cannot be bound to other interfaces.
Association between EFM and an EFM-capable interface and association between EFM and an EFM-incapable interface cannot be configured together.
A physical interface associated with EFM cannot be the one that EFM monitors. If EFM is associated with a physical interface that it monitors, the link is locked.