The mpls bfd-trigger command configures a trigger policy for an LDP BFD session.
The undo mpls bfd-trigger command deletes a trigger policy for an LDP BFD session.
By default, no trigger policy for an LDP BFD session is configured.
mpls bfd-trigger [ host [ nexthop next-hop-address | outgoing-interface interface-type interface-number ] * | fec-list list-name ]
undo mpls bfd-trigger [ host [ nexthop next-hop-address | outgoing-interface interface-type interface-number ] * | fec-list list-name ]
Parameter | Description | Value |
---|---|---|
host | Indicates that all host addresses are used to create LDP BFD sessions. | - |
nexthop next-hop-address | Specifies the next hop address on an LSP. | The value is in dotted decimal notation. |
outgoing-interface interface-type interface-number | Specifies the type and number of an outbound interface.
|
- |
fec-list list-name | Specifies the name of a FEC list, by which the creation of an LDP BFD session is triggered. | The value is an existing FEC list name. |
Usage Scenario
The trigger policy for LDP BFD has two types: the host address and FEC list.
If you want all host addresses to trigger the establishment of BFD sessions, use the host trigger mode. Specify the LSPs that can set up BFD sessions by specifying the next hop address and the outbound interface.
If you only want part of hosts to trigger the establishment of BFD sessions, use the FEC list trigger mode to specify the corresponding host addresses. Before specifying the FEC list triggering mode, run the fec-list and fec-node commands to configure a FEC list.
Prerequisites
BFD has been enabled globally using the bfd command.