beautypg.com

Configuring bfd for lsps, Network requirements, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 95

background image

84

Configuring BFD for LSPs

Network requirements

As shown in

Figure 25,

use LDP to establish an LSP from 11.1.1.0/24 to 21.1.1.0/24 and an LSP from

21.1.1.0/24 to 11.1.1.0/24. Configure BFD for the LSPs to detect LSP failures.

Configuration procedure

1.

Configure LDP sessions.

For more configuration information, see “

Configuring LDP to establish LSPs dynamically

.”

2.

Enable BFD for LSPs.

# Configure Switch A.

system-view

[SwitchA] mpls lspv

[SwitchA -mpls-lspv] bfd enable 21.1.1.0 24

[SwitchA -mpls-lspv] quit

# Configure Switch C.

system-view

[SwitchC] mpls lspv

[SwitchC-mpls-lspv] bfd enable 11.1.1.0 24

[SwitchC-mpls-lspv] quit

3.

Verify the configurations.

Execute the display mpls lsp bfd command on Switch A and Switch C respectively to view information

about the sessions established for the LSPs. Take Switch A as an example:

[SwitchA] display mpls lsp bfd

MPLS BFD Session(s) Information

-----------------------------------------------------------------------------

FEC : 11.1.1.0/24 Type : LSP

Local Discr : 130 Remote Discr : 130

Tunnel ID : --- NextHop : ---

Session State : Up Source IP : 3.3.3.9

Session Role : Passive

FEC : 21.1.1.0/24 Type : LSP

Local Discr : 129 Remote Discr : 129

Tunnel ID : 0x6040000 NextHop : 10.1.1.2

Session State : Up Source IP : 1.1.1.9

Session Role : Active

Total Session Num: 2

The output indicates that two BFD sessions have been established between Switch A and Switch C, one
for detecting the connectivity of the LSP Switch A-Switch B-Switch C, and the other for detecting the

connectivity of the LSP Switch C-Switch B-Switch A.
You can use the following command to view the verbose information of the BFD sessions.

[SwitchA] display bfd session verbose