< Home

mpls bfd-trigger

Function

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.

Format

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 ]

Parameters

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.
  • interface-type specifies the type of the interface.
  • interface-number specifies the number of the 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.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure the host trigger policy of BFD sessions in the MPLS view.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls bfd enable
[HUAWEI-mpls] mpls bfd-trigger host
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >