The mpls bfd-trigger-tunnel command configures a policy for dynamically establishing a BFD session to monitor LSPs in an LDP tunnel.
The undo mpls bfd-trigger-tunnel command deletes a policy for dynamically establishing a BFD session to monitor LSPs in an LDP tunnel.
By default, no trigger policy is configured.
Parameter | Description | Value |
---|---|---|
host |
Indicates the host address-based policy for dynamically establishing a BFD session to monitor LSPs in an LDP tunnel. |
- |
ip-prefix ip-prefix-name |
Specifies the name of an IP address prefix used to dynamically establish a BFD session to monitor an LDP tunnel. |
The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
fec-list list-name |
Specifies the name of a FEC list used to dynamically establish a BFD session to monitor LSPs in an LDP tunnel. |
The value is a string of 1 to 31 characters, spaces not supported. When quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
When LDP LSPs transmit application traffic, such as VPN, LDP FRR and upper-layer protection mechanism, such as VPN FRR or VPN equal-cost multipath (ECMP), are used to improve network reliability. If both the primary and FRR LSPs fail, BFD for LDP tunnel can be used to instruct a specific LDP upper-layer application to perform a protection switchover. After MPLS is enabled to dynamically establish BFD sessions using mpls bfd enable, run the mpls bfd-trigger-tunnel command to configure a policy for dynamically establishing a BFD session to monitor LSPs in an LDP tunnel.
Either of the following trigger policies can be used:Prerequisites
BFD has been globally enabled using the bfd command.
(Optional) If the FEC list-based policy is used, ensure that no outbound interface name or next-hop address is specified for a FEC node in a specified FEC list. (Optional) Configure an IP address prefix list before using it to trigger LDP LSP establishment.Precautions
The undo mpls bfd-trigger-tunnel command without a parameter configured deletes a host address-based policy by default.