oam-bind efm interface bfd-session

Function

The oam-bind efm interface bfd-session command enables bidirectional transmission of fault messages between EFM OAM and BFD.

The undo oam-bind efm interface bfd-session command deletes bidirectional transmission of fault messages between EFM OAM and BFD.

By default, bidirectional transmission of fault messages between EFM OAM and BFD is not configured.

Format

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

undo oam-bind efm interface { interface-type interface-number | interface-name } 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)

    Dynamic sessions, auto sessions, and VSI BFD sessions are not supported.

Example

# Configure bidirectional transmission of fault messages between EFM OAM and 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 efm interface GigabitEthernet 0/1/1 bfd-session 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >