mpls bfd

Function

The mpls bfd command sets BFD parameters for monitoring LDP LSPs.

The undo mpls bfd command deletes BFD parameters.

By default, BFD sessions use default parameter values.

Format

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

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

Parameters

Parameter Description Value
min-tx-interval min-tx-interval-value

Specifies the minimum interval at which BFD packets are sent.

The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10.

min-rx-interval min-rx-interval-value

Specifies the minimum interval at which BFD packets are received.

The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10.

detect-multiplier detect-multiplier-value

Specifies a 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

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

Usage Scenario

To set BFD parameters, run the

mpls bfd command. The parameters include the minimum interval at which BFD packets are sent, the minimum interval at which BFD packets are received, and BFD detection multiplier.

  • Effective local interval at which BFD packets are sent = MAX { Locally configured interval at which BFD packets are sent, Remotely configured interval at which BFD packets are received }
  • Effective local interval at which BFD packets are received = MAX { Remotely configured interval at which BFD packets are sent, Locally configured 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
  • By default, the minimum interval at which BFD packets are sent and the minimum interval at which BFD packets are received are 10 ms, and the detection multiplier is 3 on the ingress. By default, the minimum interval at which BFD packets are sent and the minimum interval at which BFD packets are received are 10 ms, and the detection multiplier is 3 on the egress.

    The detection multiplier is the maximum number of BFD packets dropped before a BFD peer is declared Down.

Prerequisites

The MPLS view is displayed using the mpls command.

Example

# Set the minimum interval at which BFD packets are sent to 200 milliseconds.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls bfd min-tx-interval 200
[*HUAWEI-mpls] commit
[~HUAWEI-mpls] quit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >