bfd (MPLS TE P2MP template view)

Function

The bfd command sets parameters for BFD sessions that monitor P2MP TE tunnels.

The undo bfd command restores default parameters for BFD sessions that monitor P2MP TE tunnels.

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, and the local detection multiplier is 3.

Format

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

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

Parameters

Parameter Description Value
min-tx-interval tx-interval

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 rx-interval

Specifies the minimum interval at which BFD packets are received.

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

detect-multiplier multiplier

Specifies a BFD detection multiplier.

The value is an integer ranging from 3 to 50.

Views

MPLS TE P2MP template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

If P2MP TE tunnels are established to transmit NG MVPN and multicast VPLS services, BFD for P2MP TE can be configured to rapidly detect faults in P2MP TE tunnels, which improves network reliability. To configure BFD for P2MP TE, run the bfd enable command in the P2MP tunnel template view so that BFD sessions for P2MP TE can be automatically established while P2MP TE tunnels are being established.

To set BFD parameters, run the bfd 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 before a BFD peer is declared Down.

Prerequisites

A P2MP tunnel template has been configured using the mpls te p2mp-template command.

BFD has been globally enabled using the bfd command.

Example

# Specifies the minimum interval at which BFD packets are sent.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te p2mp-te
[*HUAWEI-mpls] quit
[*HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] mpls te p2mp-template Template1
[*HUAWEI-te-p2mp-template-Template1] bfd min-tx-interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >