oam-bind ingress bfd-session egress cfm md ma

Function

The oam-bind ingress bfd-session egress cfm md ma command configures the BFD module to send fault messages to the Ethernet CFM module.

The undo oam-bind ingress bfd-session egress cfm md ma command disables the BFD module from sending fault messages to the Ethernet CFM module.

By default, the BFD module is disabled from sending fault messages to the Ethernet CFM module.

Format

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

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

Parameters

Parameter Description Value
bfd-session-id

Specifies the ID of a BFD session.

The value is an integer ranging from 1 to 16384.

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.

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 CFM and BFD 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 CFM module detects a fault, it notifies the BFD module on the remote end of the fault.

Prerequisites

BFD and CFM have been configured.

Example

# Configure the BFD module to send fault messages to the Ethernet CFM module.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] bfd session bind peer-ip 10.10.20.2
[*HUAWEI-bfd-session-session] discriminator local 1
[*HUAWEI-bfd-session-session] 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 ingress bfd-session 1 egress cfm md mdcustomer ma macustomer
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >