The mpls bgp bfd-trigger-tunnel command configures a policy used to establish BGP BFD sessions.
The undo mpls bgp bfd-trigger-tunnel command deletes a policy used to establish BGP BFD sessions.
By default, no policy used to establish BGP BFD sessions is configured.
Parameter | Description | Value |
---|---|---|
host |
Allows a device to use host addresses to establish BGP BFD sessions. |
- |
ip-prefix ip-prefix-name |
Allows a device to use a specified IP prefix list to establish BGP BFD sessions. |
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. |
Usage Scenario
BFD for BGP tunnel rapidly detects faults in E2E BGP tunnels. Before a BGP BFD session is established, the mpls bgp bfd enable command must be run to enable MPLS to dynamically establish BGP BFD sessions on the ingress of a BGP tunnel. To specify a policy used to establish BGP BFD sessions, run the mpls bgp bfd-trigger-tunnel command.
Either of the following policies can be used:Prerequisites
BFD has been globally enabled using the bfd command.
Precautions
If the mpls bgp bfd-trigger-tunnel command is run more than once, the latest configuration overrides the previous one.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] mpls bgp vpn-instance vpna [*HUAWEI-mpls-bgp-vpn-instance-vpna] mpls bgp bfd-trigger-tunnel host