< Home

mpls bgp bfd

Function

The mpls bgp bfd command sets time parameters for BGP BFD sessions.

The undo mpls bgp bfd command restores default time parameters for BGP BFD sessions.

By default, the minimum interval for sending BFD packets is 1000 ms, the minimum interval for receiving BFD packets is 1000 ms, and the local detection multiplier is 3.

Format

mpls bgp bfd { min-tx-interval interval | min-rx-interval interval | detect-multiplier multiplier } *

undo mpls bgp bfd { min-tx-interval | min-rx-interval | detect-multiplier } *

undo mpls bgp bfd { min-tx-interval interval | min-rx-interval interval | detect-multiplier multiplier } *

Parameters

Parameter Description Value

min-tx-interval interval

Specifies the minimum interval at which BGP BFD packets are sent.

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, S5731S-H, and S6720-HI, the value ranges from 3 to 1000.
  • After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730S-H, and S6730-H, the value ranges from 3 to 1000.

min-rx-interval interval

Specifies the minimum interval at which BGP BFD packets are received.

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, S5731S-H, and S6720-HI, the value ranges from 3 to 1000.
  • After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730S-H, and S6730-H, the value ranges from 3 to 1000.

detect-multiplier multiplier

Specifies the local BGP BFD detection multiplier.

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

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

A BGP BFD session working in asynchronous mode monitor BGP label switched paths (LSPs) over BGP tunnels. The ingress and egress of E2E BGP LSPs exchange BFD packets periodically. If a node receives no BFD packet after the detection period elapses, the node considers the BGP LSP faulty.

Effective BFD time parameters are calculated using the following formulas:

  • Effective local interval at which BFD packets are sent = MAX { Locally configured minimum interval at which BFD packets are sent, Remotely configured minimum interval at which BFD packets are received }

  • Effective local interval at which BFD packets are received = MAX { Remotely configured minimum interval at which BFD packets are sent, Locally configured minimum interval at which BFD packets are received }

  • Local BFD detection period = Effective local interval at which BFD packets are received x Remotely configured BFD detection multiplier

Example

# Set the minimum interval at which BGP BFD packets are sent to 200 ms.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 10.1.1.1
[HUAWEI] mpls
[HUAWEI-mpls] mpls bgp bfd min-tx-interval 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >