oam-bind ingress cfm md ma egress bfd-session

Function

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

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

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

Format

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

undo oam-bind ingress cfm md md-name ma ma-name egress 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.

Prerequisites

BFD and CFM have been configured.

Example

# Configure the Ethernet CFM module to send fault messages to the BFD 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 cfm md mdcustomer ma macustomer egress bfd-session 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >