The oam-bind cfm md ma efm interface command enables bidirectional transmission of fault messages between EFM and Ethernet CFM.
The undo oam-bind cfm md ma efm interface command disables bidirectional transmission of fault messages between EFM and Ethernet CFM.
By default, bidirectional transmission of fault messages between EFM and Ethernet CFM is disabled.
Parameter | Description | Value |
---|---|---|
md-name |
Specifies the name of an MD. |
The value is a string of 1 to 43 case-sensitive characters. Question marks (?), hyphens (-) are not supported. |
ma-name |
Specifies the name of an MA. |
The value is a string of 1 to 43 case-sensitive characters. Question marks (?), hyphens (-) are not supported. The total length of MA and MD names must be no greater than 44 characters. |
interface-type |
Specifies the type of an interface. |
The value can be Ethernet or GigabitEthernet. |
interface-number |
Specifies the number of an interface. |
- |
Usage Scenario
If EFM is deployed on one side of a device and CFM is deployed on the other side of the device, association between EFM and CFM can be configured on the device. This allows EFM and CFM to notify each other of faults and ensures reliable service transmission.
Association between EFM and CFM is bidirectional. The details are as follows:If EFM detects a link fault, it will notify CFM of the fault.If CFM detects a link fault, it will notify EFM of the fault. The following commands are used when EFM is associated with CFM:Prerequisites
MDs and MAs have been created and EFM has been enabled on specified interfaces.
<HUAWEI> system-view [~HUAWEI] efm enable [*HUAWEI] interface GigabitEthernet0/1/0 [*HUAWEI-GigabitEthernet0/1/0] efm enable [*HUAWEI-GigabitEthernet0/1/0] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md mdcustomer [*HUAWEI-md-mdcustomer] ma macustomer [*HUAWEI-md-mdcustomer-ma-macustomer] oam-mgr [*HUAWEI-oam-mgr] oam-bind cfm md mdcustomer ma macustomer efm interface GigabitEthernet0/1/0