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.
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 }
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. |
- |
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:
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.<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
<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