< Home

bfd all-interfaces(OSPF)

Function

The bfd all-interfaces command enables bidirectional forwarding detection (BFD) in an OSPF process and sets the parameter values of a BFD session.

The undo bfd all-interfaces command disables BFD in an OSPF process and restores the default parameter values of a BFD session.

By default, BFD is disabled.

Product

Support

S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Supported

S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S6720-LI, and S6720S-LI

Not supported

Format

bfd all-interfaces enable

undo bfd all-interfaces enable

bfd all-interfaces { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value | frr-binding } *

undo bfd all-interfaces { min-rx-interval | min-tx-interval | detect-multiplier| frr-binding } *

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 the frr-binding parameter.

Parameters

Parameter Description Value

min-rx-interval receive-interval

Indicates the minimum interval at which BFD packets are received from the remote end.

The value is an integer that ranges from 100 to 1000, in milliseconds.
  • After the set service-mode enhanced command is configured on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, and S6720-HI, the value ranges from 3 to 1000.
  • After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S, the value ranges from 3 to 1000.

min-tx-interval transmit-interval

Indicates the minimum interval at which BFD packets are sent to the remote end.

The value is an integer that ranges from 100 to 1000, in milliseconds.
  • After the set service-mode enhanced command is configured on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, and S6720-HI, the value ranges from 3 to 1000.
  • After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S, the value ranges from 3 to 1000.

detect-multiplier multiplier-value

Indicates the local detection multiplier.

The value is an integer ranging from 3 to 50. By default, it is 3.

frr-binding

Binds the BFD status to the link status of an interface.

-

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a device communicates with its neighbors, BFD can fast detect faults to minimize the fault impact on services.

You can bind a BFD session to an interface or an OSPF process. If a BFD session is bound to both an interface and an OSPF process, the BFD session bound to an interface takes precedence over that bound to an OSPF process.

Precautions

  • receive-interval is negotiated between local min-rx-interval and remote min-tx-interval. The smaller of local min-rx-interval and remote min-tx-interval is used as the remote min-tx-interval. If the local end does not receive any BFD packets within the interval of receive-interval × multiplier-value (local detection multiplier), it declares that the remote end is unreachable.
  • An OSPF device sets up BFD sessions with only the neighbors in Exstart state. Two ends can set up a BFD session only when the bfd command is run on both ends to configure BFD globally and the bfd all-interfaces enable command is run.
  • The bfd all-interfaces command and the ospf bfd block command are mutually exclusive.

Example

# Configure BFD in an OSPF process and set the minimum interval for sending BFD packets to 400 ms.

<HUAWEI> system-view
[HUAWEI] ospf 
[HUAWEI-ospf-1] bfd all-interfaces enable
[HUAWEI-ospf-1] bfd all-interfaces min-tx-interval 400
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >