The bfd bind ldp-lsp command creates a bidirectional forwarding detection (BFD) session for detecting faults in an LDP LSP.
By default, no BFD session is created to detect faults in an LDP LSP.
| Parameter | Description | Value | 
|---|---|---|
| session-name | 
 Specifies the BFD configuration name.  | 
The value is a string of 1 to 64 characters. It cannot contain spaces. However, the character string can contain spaces if it is enclosed with quotation marks. 
  | 
| peer-ip ip-address | 
 Specifies the LSR ID of the egress on a dynamic LSP to which a BFD session is bound.  | 
The value is in dotted decimal notation.  | 
| nexthop ip-address | 
 Specifies the next-hop IP address.  | 
The value is in dotted decimal notation.  | 
| interface interface-name | 
 Specifies the name of the outbound interface bound to a BFD session.  | 
-  | 
| interface-type | 
 Specifies the type of the outbound interface bound to a BFD session.  | 
-  | 
| interface-number | 
 Specifies the number of the outbound interface bound to a BFD session.  | 
-  | 
Usage Scenario
After a BFD session is established for an LDP LSP, the BFD mechanism rapidly detects LDP LSP faults to provide E2E protection.
Precautions
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] bfd 1to4 bind ldp-lsp peer-ip 4.4.4.4 nexthop 10.1.1.2 interface GigabitEthernet 0/1/0