< Home

bfd bind static-lsp

Function

The bfd bind static-lsp command creates a BFD session to detect static LSPs.

The undo bfd command deletes a specified BFD session.

By default, no BFD session is created to detect static LSPs.

Format

bfd cfg-name bind static-lsp lsp-name

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.
lsp-name Specifies the name of the static LSP bound to the BFD session. The value is an existing static LSP name.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can deploy MPLS services by manually configuring static LSPs on small networks with simple topology and stable performance. It takes an interface a long period of time to detect a link fault. After a static BFD session is bound to the LDP LSP, the interface can quickly detect faults on LDP LSPs.

Prerequisites

BFD has been enabled globally using the bfd command in the system view.

Precautions

  • If the specified static LSP does not exist or the BFD configuration name exists, the BFD session cannot be created.

  • The commit command must be run to make the configured BFD parameters take effect before a BFD session is created.

  • When the status of the static LSP is Down, a BFD session cannot be created.

Example

# Create a BFD session to detect the static LSP named 1to4.

<HUAWEI> system-view
[HUAWEI] bfd bfd1to4 bind static-lsp 1to4
[HUAWEI-bfd-lsp-session-bfd1to4]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >