< Home

bfd bind mpls-te

Function

The bfd bind mpls-te command configures BFD to monitor TE tunnels, or the primary or backup LSP bound to a TE tunnel.

The undo bfd command deletes a specified BFD session.

By default, no TE tunnel applies BFD.

Format

bfd cfg-name bind mpls-te interface tunnel interface-number [ te-lsp [ backup ] ]

undo bfd cfg-name

Parameters

Parameter Description Value
cfg-name Specifies the BFD configuration name. The value is a string of 1 to 15 case-insensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
interface tunnel interface-number Specifies the interface number of the TE tunnel bound to a BFD session. -
te-lsp [ backup ] Indicates that BFD monitors the LSP bound to the TE tunnel.
  • If backup is not selected, BFD monitors the primary LSP bound to the TE tunnel.
  • If backup is selected, BFD monitors the backup LSP bound to the TE tunnel.
-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the bfd bind mpls-te command to configure BFD to monitor TE tunnels, or the primary or backup LSP bound to a TE tunnel.

Prerequisites

Before configuring BFD to monitor TE tunnels, the following tasks must have been completed:
  • BFD has been enabled globally using the bfd command.

  • An MPLS TE tunnel interface has been configured.

Precautions

BFD can monitor a TE tunnel and the primary or backup LSP bound to the TE tunnel.
  • If BFD is configured to monitor the primary or backup LSP bound to a TE tunnel, a BFD session cannot be created if the LSP status is Down.

  • If the tunnel status is Down when BFD is configured to monitor a TE tunnel, the BFD session can still be created, but its status is Down.

    Multiple LSPs can be bound to a TE tunnel. When BFD detects the tunnel, the BFD session will go Down only if all LSPs bound to the TE tunnel fail.

Example

# Configure BFD to detect the primary LSP bound to the TE tunnel.

<HUAWEI> system-view
[HUAWEI] bfd 1to4rsvp bind mpls-te interface Tunnel 1 te-lsp 
[HUAWEI-bfd-lsp-session-1to4rsvp]

# Configure BFD to detect the backup LSP bound to the TE tunnel.

<HUAWEI> system-view
[HUAWEI] bfd 1to4backup bind mpls-te interface Tunnel 1 te-lsp backup
[HUAWEI-bfd-lsp-session-1to4backup]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >