oam-bind cfm md ma bfd-session

Function

The oam-bind cfm md ma bfd-session command enables bidirectional transmission of fault messages between Ethernet CFM and Bidirectional Forwarding Detection (BFD).

The undo oam-bind cfm md ma bfd-session command disables bidirectional transmission of fault messages between Ethernet CFM and BFD.

By default, bidirectional transmission of fault messages between Ethernet CFM and BFD is disabled.

Format

oam-bind cfm md md-name ma ma-name bfd-session bfd-session-id

undo oam-bind cfm md md-name ma ma-name bfd-session bfd-session-id

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.

bfd-session-id

Specifies the ID of a BFD session.

The value is an integer ranging from 1 to 16384.

Views

OAM management view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
oammgr write

Usage Guidelines

Usage Scenario

If CFM and BFD are configured on two sides of a device, the oam-bind cfm md ma bfd-session command can be used to associate the CFM module with the BFD module to enable bidirectional transmission of fault messages between the two modules.

The association functions on a bidirectional link as follows:If the CFM module detects a fault, it notifies the BFD module on the remote end of the fault.If the BFD module detects a fault, it notifies the CFM module on the remote end of the fault.

The following commands are used when the CFM module is associated with the BFD module:

  • oam-bind cfm md ma bfd-session
  • oam-bind ingress cfm md ma egress bfd-session
  • oam-bind ingress bfd-session egress cfm md ma

Prerequisites

BFD and CFM have been configured.

Example

# Configure bidirectional transmission of fault messages between Ethernet CFM and BFD.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] bfd 1 bind peer-ip 10.10.20.2
[*HUAWEI-bfd-session-session-1] discriminator local 1
[*HUAWEI-bfd-session-session-1] 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 bfd-session 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >