oam-bind ingress efm interface egress bfd-session

Function

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

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

By default, EFM OAM is disabled from sending fault messages to BFD.

Format

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

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

Parameters

Parameter Description Value
interface-type

Specifies the type of an Ethernet interface.

-

interface-number

Specifies the number of an Ethernet interface.

-

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 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 OAM has been globally enabled using the efm enable command in the system view.
  • EFM OAM 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 OAM 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 EFM OAM to send fault messages to BFD 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] oam-mgr
[*HUAWEI-oam-mgr] oam-bind ingress efm interface GigabitEthernet 0/1/1 egress bfd-session 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >