< Home

mpls bgp bfd enable

Function

The mpls bgp bfd enable command enables the MPLS ability to dynamically create BGP BFD sessions.

The undo mpls bgp bfd enable command disables the MPLS ability to dynamically create BGP BFD sessions.

By default, the MPLS ability to dynamically create BGP BFD sessions is disabled.

Format

mpls bgp bfd enable

undo mpls bgp bfd enable

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

BFD for BGP tunnel rapidly detects faults in E2E BGP tunnels. Before a BGP BFD session is established, run the mpls bgp bfd enable command on the ingress of a BGP tunnel to enable the MPLS ability to dynamically create a BGP BFD session.

Prerequisites

BFD has been globally enabled using the bfd command.

Follow-up Procedure

Run the mpls bgp bfd-trigger-tunnel command to establish a BGP BFD session.

Example

# Enable the MPLS ability to dynamically create a BGP BFD session on the ingress of a BGP tunnel.

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