< Home

oam-bind ingress efm interface egress cfm md ma

Function

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

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

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

Format

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

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

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 (?).

NOTE:

When double quotation marks are used around the string, spaces are allowed in the string.

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.

NOTE:

When double quotation marks are used around the string, spaces are allowed in the string.

interface-type 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 EFM to report faults to CFM through the GigabitEthernet0/0/1.

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