< Home

oam-bind ingress cfm md ma egress efm interface

Function

The oam-bind ingress cfm md ma egress efm interface command configures Ethernet CFM to report faults to EFM OAM.

The undo oam-bind ingress cfm md ma egress efm interface command cancels the configuration.

By default, Ethernet CFM is not configured to report faults to EFM OAM.

Format

oam-bind ingress cfm md md-name ma ma-name egress efm interface interface-type interface-number

undo oam-bind ingress cfm md md-name ma ma-name egress efm interface interface-type interface-number

Parameters

Parameter Description Value

md-name

Specifies the name of an MD.

The value is a string of 1 to 43 case-sensitive characters without spaces, hyphens (-), and question marks (?).

ma-name

Specifies the name of an MA.

The value is a string of 1 to 43 case-sensitive characters without spaces, hyphens (-), and question marks (?). The total length of the names of the MA and MD must be within 44 characters.

interface-number

Specifies the type and number of an Ethernet interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

The interface must have been enabled with EFM OAM.

-

Views

OAM management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If EFM is deployed at one side and CFM is deployed at another side of a device, associate EFM with CFM on the device so that EFM and CFM can report faults to each other.

Association between EFM and CFM is bidirectional:
  • When EFM detects a link fault, it will notify CFM of the fault.

  • When CFM detects a link fault, it will notify EFM of the fault.

The following commands are used to associate EFM with CFM:
  • oam-bind cfm md ma efm interface
  • oam-bind ingress cfm md ma egress efm interface
  • oam-bind ingress efm interface egress cfm md ma

Select the preceding commands in different scenarios according to Table 1.

Table 1 Association between EFM and CFM

Scenario

Configuration Solution 1

Configuration Solution 2

Bidirectional fault notification between EFM and CFM

The oam-bind cfm md ma efm interface command is used to configure EFM and CFM to report faults to each other.

Run the following commands at a random order (each command configures fault transmission in a single direction):

  • The oam-bind ingress efm interface egress cfm md ma command is used to configure EFM to report faults to CFM.
  • The oam-bind ingress cfm md ma egress efm interface command is used to configure CFM to report faults to EFM.

Unidirectional fault notification between EFM and CFM

Select either of the following commands based on the transmission direction:

  • Run the oam-bind ingress efm interface egress cfm md ma command to configure EFM to report faults to CFM.

  • Run the oam-bind ingress cfm md ma egress efm interface command to configure CFM to report faults to EFM.

None

Prerequisites

The MD and MA have been created and EFM has been enabled on the specified interface.

Example

# Configure Ethernet CFM to report faults to EFM through the GigabitEthernet0/0/1.

<HUAWEI> system-view
[HUAWEI] oam-mgr
[HUAWEI-oam-mgr] oam-bind ingress cfm md mdcustomer ma customer egress efm interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >