The peer bfd command sets BFD detection parameters for a peer.
The undo peer bfd command restores default BFD detection parameter values.
By default, the interval at which BFD packets are sent is 10 milliseconds, the interval at which BFD packets are received is 10 milliseconds, the local detection time multiplier is 3.
Parameter | Description | Value |
---|---|---|
peerIpv4Addr |
Specifies the IPv4 address of a peer. |
It is in dotted decimal notation. |
min-tx-interval min-tx-value |
Specifies the interval at which BFD packets are sent. |
The value is an integer ranging from 3 to 1000, in milliseconds. The default value is 1000. |
min-rx-interval min-rx-value |
Specifies the interval at which BFD packets are received. |
The value is an integer ranging from 3 to 1000, in milliseconds. The default value is 1000. |
detect-multiplier multiplier |
Specifies the local detection time multiplier. |
The value is an integer ranging from 3 to 50. The default value is 3. |
Usage Scenario
BFD provides millisecond-level fault detection. It helps BGP to detect faults in neighboring devices or links more quickly, and instructs BGP to recalculate routes for correct packet forwarding. The peer bfd command can be used to set the values of BFD session parameters on a specified interface.
The BFD configuration of a peer takes precedence over that of the peer group to which the peer belongs. If BFD is not configured on a peer and the peer group to which the peer belongs is enabled with BFD, the peer will inherit the BFD configurations of the peer group.<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] ipv4-family [*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpna-af-ipv4] quit [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] bgp 100 instance a [*HUAWEI-bgp-instance-a] vpn-instance vpna [*HUAWEI-bgp-instance-a-instance-vpna] peer 10.1.1.1 as-number 100 [*HUAWEI-bgp-instance-a-instance-vpna] peer 10.1.1.1 bfd min-tx-interval 100 min-rx-interval 100 detect-multiplier 5