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, unidirectional transmission of information about a fault from a BFD session to an interface is not configured.

Format

oam-bind ingress bfd-session { bfd-session-id | session-name bfd-session-name } trigger if-down egress interface { interface-name | interface-type interface-number }

oam-bind ingress bfd-session { bfd-session-id | session-name bfd-session-name } trigger if-down reboot-impact egress interface { interface-name | interface-type interface-number }

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

undo oam-bind ingress bfd-session { bfd-session-id | session-name bfd-session-name } trigger if-down reboot-impact egress interface { interface-name | interface-type interface-number }

Parameters

Parameter Description Value
session-name bfd-session-name

Specifies·the·BFD·session·name.

The value is a string of 1 to 64 case-sensitive characters, spaces not supported.

interface interface-type interface-number

Specifies the type and the number of an interface.

-

bfd-session bfd-session-id

Specifies the local discriminator of a BFD session.

The value is an integer ranging from 1 to 16384.

reboot-impact

After the device is restarted and BFD configurations are restored, the initial Down state triggers the interface or sub-interface to go Down.

-

Views

OAM management view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bfd write

Usage Guidelines

Usage Scenario

After the association between a BFD session and an interface is configured, when the BFD session detects a link fault, the BFD session on the local device sends a fault notification message to the OAM management module to trigger the physical status of the interface to go Down. When the faulty link recovers, the BFD session on the local device informs the OAM management module, which triggers the interface to go Up.

After the oam-bind ingress bfd-session trigger if-down egress interface command is run and the device is restarted and the BFD configuration is restored, the initial Down state of the BFD session is not associated with the interface or sub-interface Down state.

After the oam-bind ingress bfd-session trigger if-down reboot-impact egress interface command is run and the device is restarted and the BFD configuration is restored, the initial Down state of the session is associated with the interface or sub-interface Down state.

Prerequisites

The unidirectional transmission of information about a fault from a BFD session to an interface can be configured only when the following requirements are met:

  • Both BFD sessions have been set up, and the BFD sessions must in the Up state.
  • The BFD session is a static BFD session.
  • The BFD session and the interface are exclusively associated with each other. That is, after an interface is associated with BFD session 1, the interface cannot be associated with other BFD sessions. After BFD session 1 is associated with an interface, BFD session 1 cannot be associated with other interfaces.

Precautions

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

The oam-bind ingress bfd-session trigger if-down egress interface command can be run on physical interfaces, VE interfaces, Eth-Trunk interfaces, physical sub-interfaces, and Eth-Trunk sub-interfaces.

Example

# Configure the unidirectional transmission of information about a fault from BFD session to the interface and reboot-impact.
<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] discriminator remote 2
[*HUAWEI-bfd-session-session] quit
[*HUAWEI] oam-mgr
[*HUAWEI-oam-mgr] oam-bind ingress bfd-session 1 trigger if-down reboot-impact egress interface GigabitEthernet0/1/0
# Configure the unidirectional transmission of information about a fault from BFD session to the interface.
<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] discriminator remote 2
[*HUAWEI-bfd-session-session] quit
[*HUAWEI] oam-mgr
[*HUAWEI-oam-mgr] oam-bind ingress bfd-session 1 trigger if-down egress interface GigabitEthernet0/1/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >