oam-bind ingress bfd-session egress efm interface

Function

The oam-bind ingress bfd-session egress efm interface command configures BFD to send fault messages to EFM.

The undo oam-bind ingress bfd-session egress efm interface command disables BFD from sending fault messages to EFM.

By default, BFD does not send fault messages to EFM.

Format

oam-bind ingress bfd-session bfd-session-id egress efm interface { interface-type interface-number | interface-name }

undo oam-bind ingress bfd-session bfd-session-id egress efm interface { interface-type interface-number | interface-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.

interface-type

Specifies the type of an Ethernet interface.

-

interface-number

Specifies the number of an Ethernet interface.

-

Views

OAM management view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
oammgr write

Usage Guidelines

Usage Scenario

If EFM OAM is deployed on one side and BFD is deployed on another side of a device, association between EFM OAM and BFD can be configured on the device. This allows EFM OAM and BFD to notify each other of faults and ensures reliable service transmission.

Association between EFM OAM and BFD is bidirectional. The details are as follows:

  • If EFM OAM detects a link fault, it will notify BFD of the fault.
  • If BFD detects a link fault, it will notify EFM OAM of the fault.

Prerequisites

  • EFM has been globally enabled using the efm enable command in the system view.
  • EFM has been enabled using the efm enable command in the interface view.
  • BFD has been enabled.

Precautions

Only the following types of BFD sessions support association between EFM and BFD:

  • Static BFD for LSP (LDP, TE, TE-LSP, static-LSP, and VLL PW) sessions (a PST is required)
  • BFD for IP sessions (no PST is required)

Example

# Configure BFD to send fault messages to EFM through GE 0/1/1.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] bfd session bind peer-ip 10.10.20.2
[*HUAWEI-bfd-session] discriminator local 1
[*HUAWEI-bfd-session] quit
[*HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/1
[*HUAWEI-GigabitEthernet0/1/1] efm enable
[*HUAWEI-GigabitEthernet0/1/1] quit
[*HUAWEI-mgr] oam-mgr
[*HUAWEI-oam-mgr] oam-bind ingress bfd-session 1 egress efm interface GigabitEthernet0/1/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >