Configuring Dynamic BFD to Monitor an LDP Tunnel

Dynamic BFD can be configured to establish a dynamic BFD session to monitor both primary and backup LDP LSPs in an LDP tunnel. If BFD detects a fault, BFD instructs a specific LDP upper-layer application to perform a protection switchover.

Usage Scenario

When LDP LSPs transmit application traffic, for example, VPN, to improve network reliability, LDP FRR and an LDP upper-layer protection mechanism, such as VPN FRR or VPN equal-cost multipath (ECMP), are used. BFD for LDP LSP only detects primary LSP faults and switches traffic to an FRR LSP. If the primary and FRR LSPs fail simultaneously, the BFD mechanism does not take effect. In this situation, LDP can instruct its upper-layer application to perform a protection switchover only after LDP detects the FRR LSP failure. As a result, a great number of packets are dropped.

For applications, for example, VPN, which are transmitted over LDP LSPs, the primary and backup LDP LSPs are collectively called LDP tunnels.

To minimize packet loss, dynamic BFD can be configured to establish dynamic BFD sessions to monitor both the primary and FRR LSPs. If both primary and FRR LSPs fail, BFD rapidly detects the failures and instructs a specific LDP upper-layer application to perform a protection switchover.

Pre-configuration Tasks

Before configuring dynamic BFD to monitor an LDP tunnel, complete the following tasks:

  • Configure basic MPLS functions.

  • Configure MPLS LDP.

  • (Optional) Configure an IP address prefix list if it is used to trigger LDP LSP establishment.

  • (Optional) Configure a FEC list if it is used to trigger LDP LSP establishment.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >