< Home

oam-bind ingress bfd-session trigger if-down egress interface

Function

The oam-bind ingress bfd-session trigger if-down egress interface command enables a BFD session to report faults to an interface.

The undo oam-bind ingress bfd-session trigger if-down egress interface command disables a BFD session from reporting faults to an interface.

By default, a BFD session is not enabled to report faults to an interface.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

oam-bind ingress bfd-session bfd-session-id trigger if-down egress interface interface-type interface-number

undo oam-bind ingress bfd-session bfd-session-id trigger if-down egress interface interface-type interface-number

Parameters

Parameter

Description

Value

bfd-session bfd-session-id

Specifies the local discriminator.

The value is an integer that ranges from 1 to 8191.

trigger if-down

Indicates that an interface goes Down when the BFD session associated with the interface detects a fault.

-

interface-type interface-number

Specifies the type and number of the interface bound to a BFD session.
  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

Views

OAM management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enable a BFD session to report faults to an interface, run the oam-bind ingress bfd-session trigger if-down egress interface command.

Precautions

Before configuring a BFD session to report faults to an interface, pay attention to the following points:

  • A BFD session has been created and its status is Up.

  • The BFD session is a static BFD session.

  • The BFD session and the interface are associated with each other. That is, after an interface is associated with BFD session 1, the interface cannot be associated with other BFD sessions. Similarly, BFD session 1 cannot be associated with other interfaces.

The ingress BFD session reports faults to the egress interface.

Example

# Configure BFD session 1 to report faults to GE0/0/1.

<HUAWEI> system-view
[HUAWEI] oam-mgr
[HUAWEI-oam-mgr] oam-bind ingress bfd-session 1 trigger if-down egress interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >