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 send fault messages to EFM.

The undo oam-bind ingress cfm md ma egress efm interface command disables Ethernet CFM from sending fault messages to EFM.

By default, Ethernet CFM is disabled from sending fault messages to EFM.

Format

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

undo oam-bind ingress cfm md md-name ma ma-name egress efm interface { interface-name | 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. 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 interface must be enabled with EFM.

-

interface-number

Specifies the number of an interface. The interface must be enabled with EFM.

-

Views

OAM management view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
oammgr write

Usage Guidelines

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.

Prerequisites

MDs and MAs have been created and EFM has been enabled on specified interfaces.

Example

# Configure Ethernet CFM to send fault messages to EFM through GE 0/1/17.
<HUAWEI> system-view
[~HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/17
[*HUAWEI-GigabitEthernet0/1/17] efm enable
[*HUAWEI-GigabitEthernet0/1/17] quit
[*HUAWEI] cfm enable
[*HUAWEI] cfm md mdcustomer
[*HUAWEI-md-mdcustomer] ma macustomer
[*HUAWEI] oam-mgr
[*HUAWEI-oam-mgr] oam-bind ingress cfm md mdcustomer ma macustomer egress efm interface GigabitEthernet 0/1/17
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >