The oam-bind ingress efm interface trigger if-down egress interface command enables EFM to report faults to an interface.
The undo oam-bind ingress efm interface trigger if-down egress interface command cancels the configuration.
By default, unidirectional transmission of information about a fault from EFM OAM to an interface is not configured.
oam-bind ingress efm interface interface-type1 interface-number1 trigger if-down egress interface interface-type2 interface-number2
undo oam-bind ingress efm interface interface-type1 interface-number1 trigger if-down egress interface interface-type2 interface-number2
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
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.
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.
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 andoam-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 |
Precautions
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.
Ingress EFM reports faults to the specified interface.