mpls bfd-tunnel

Function

The mpls bfd-tunnel command sets dynamic BFD for tunnel parameters.

The undo mpls bfd-tunnel command deletes dynamic BFD for tunnel parameters.

By default, the minimum interval at which BFD packets are sent is 10 ms, the minimum interval at which BFD packets are received is 10 ms, the local BFD detection multiplier is 3.

Format

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

undo mpls bfd-tunnel { 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.

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.

detect-multiplier detect-multiplier-value

Specifies a local BFD detection multiplier.

The value is an integer ranging from 3 to 50.

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 for tunnel parameters, run the

mpls bfd-tunnel command. The parameters include the minimum interval at which BFD packets are sent, the minimum interval at which BFD packets are received, and the 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

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

Prerequisites

The MPLS view has been displayed using the mpls command.

Precautions

If both the mpls bfd-tunnel and mpls bfd commands are run, parameters configured using the mpls bfd-tunnel command take precedence.

Example

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