< Home

bfd all-interfaces(OSPFv3)

Function

The bfd all-interfaces command enables BFD for OSPFv3 or configures BFD parameters for OSPFv3.

The undo bfd all-interfaces command disables BFD for OSPFv3 or deletes the configured BFD parameters for OSPFv3.

By default, BFD is not enabled or configured for OSPFv3 processes.

Product

Support

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

Supported

S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI

Not supported

Format

bfd all-interfaces { enable | { min-transmit-interval min-transmit-value | min-receive-interval min-receive-value | detect-multiplier detect-multiplier-value } * }

undo bfd all-interfaces { enable | { min-transmit-interval [ min-transmit-value ] | min-receive-interval [ min-receive-value ] | detect-multiplier [ detect-multiplier-value ] } * }

Parameters

Parameter Description Value

enable

Indicates enable BFD for OSPFv3.

-

min-transmit-interval min-transmit-value

Specifies the minimum interval for sending BFD packets to the peer.

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-receive-interval min-receive-value

Specifies the minimum interval for receiving BFD packets from the peer.

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 detect-multiplier-value

Indicates the local detection multiplier.

The value is an integer that ranges from 3 to 50. The default value is 3.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

  • To allow OSPFv3 to quickly detect device faults and recalculate routes, run the bfd all-interfaces command to enable BFD and configure BFD session parameters for OSPFv3. This speeds up OSPFv3 route convergence. If an OSPFv3 neighbor relationship goes Down, the BFD session between the OSPFv3 neighbors is dynamically deleted.

After OSPFv3 establishes a BFD session, the default BFD parameters are used. BFD session parameters can also be modified as required.

  • Actual interval at which BFD packets are transmitted on the local devices = Max { configured interval min-transmit-value at which BFD packets are transmitted, configured interval min-receive-value at which BFD packets are received on the peer device }
  • Actual interval at which BFD packets are received on the local devices = Max { configured interval min-transmit-value at which BFD packets are transmitted on the peer device, configured interval min-receive-value at which BFD packets are received on the local device }
  • Actual time for detecting BFD packets = Actual interval at which BFD packets are received on the local device x Configured detection multiplier detect-multiplier-value

For example:

  • On the local device, the configured interval at which BFD packets are transmitted is 200 ms; the interval at which BFD packets are received is 300 ms; the detection multiplier is 4.
  • On the peer device, the configured interval at which BFD packets are transmitted is 100 ms; the interval at which BFD packets are received is 600 ms; the detection multiplier is 5.

Then:

  • On the local device, the actual interval at which BFD packets are transmitted is 600 ms calculated by using the formula max {200 ms, 600 ms}; the interval at which BFD packets are received is 300 ms calculated by using the formula max {100 ms, 300 ms}; the detection period is 1500 ms calculated by multiplying 300 ms by 5.
  • On the peer device, the actual interval at which BFD packets are transmitted is 300 ms calculated by using the formula max {100 ms, 300 ms}, the actual interval at which BFD packets are received is 600 ms calculated by using the formula max {200 ms, 600 ms}, and the detection period is 2400 ms calculated by multiplying 600 ms by 4.

Prerequisites

BFD has been enabled globally using the bfd command.

After BFD in the OSPFv3 process is enabled using the bfd all-interfaces enable command, OSPFv3 establish BFD sessions only with neighbors whose status is Full.

Follow-up Procedure

  • Configure a BFD session on a specified interface.

    If you need to configure BFD on a specified interface, or if global BFD for OSPFv3 is configured but you want a specific interface to detect link faults faster, run the ospfv3 bfd command to configure BFD on the specified interface.

  • Prevent an interface from dynamically creating a BFD session.

    If you do not want to enable BFD on a specified interface, run the ospfv3 bfd block command to disable the interface from dynamically creating a BFD session.

Precautions

The bfd all-interfaces command and the ospfv3 bfd block command are mutually exclusive.

Example

# Enable BFD for OSPFv3 process 1.

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