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.
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. |
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:Prerequisites
BFD and CFM have been configured.
<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