mpls bgp bfd enable

Function

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

The undo mpls bgp bfd enable command disables MPLS from dynamically creating BGP BFD sessions.

By default, MPLS is disabled from dynamically creating BGP BFD sessions.

Format

mpls bgp bfd enable

undo mpls bgp bfd enable

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

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 MPLS to dynamically create BGP BFD sessions.

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 MPLS to dynamically create BGP BFD sessions on the ingress of a BGP tunnel.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls bgp bfd enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >