Configuring Bfd For Lsps - HPE 5820X Series Configuration Manual

Mpls
Hide thumbs Also See for 5820X Series:
Table of Contents

Advertisement

Configuring BFD for LSPs

Network requirements
As shown in
from 21.1.1.0/24 to 11.1.1.0/24. Configure BFD for the LSPs to detect LSP failures.
Configuration procedure
Configure LDP sessions (see
1.
Enable BFD for LSPs:
2.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] mpls lspv
[SwitchA -mpls-lspv] bfd enable 21.1.1.0 24
[SwitchA -mpls-lspv] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] mpls lspv
[SwitchC-mpls-lspv] bfd enable 11.1.1.0 24
[SwitchC-mpls-lspv] quit
Verify the configuration:
3.
Execute the display mpls lsp bfd command on Switch A and Switch C to display information
about the sessions established for the LSPs. Take Switch A as an example:
[SwitchA] display mpls lsp bfd
-----------------------------------------------------------------------------
FEC
Local Discr
Tunnel ID
Session State : Up
Session Role
FEC
Local Discr
Tunnel ID
Session State : Up
Session Role
Total Session Num: 2
The output shows that two BFD sessions have been established between Switch A and Switch
C: one for testing the connectivity of the LSP Switch A-Switch B-Switch C, and the other for
testing the connectivity of the LSP Switch C-Switch B-Switch A.
Use the following command to display detailed information about BFD sessions:
[SwitchA] display bfd session verbose
Total session number: 2
IPv4 session working under Ctrl mode:
Figure
25, use LDP to establish an LSP from 11.1.1.0/24 to 21.1.1.0/24, and an LSP
MPLS BFD Session(s) Information
: 11.1.1.0/24
: 130
: ---
: Passive
: 21.1.1.0/24
: 129
: 0x6040000
: Active
"Configuring LDP to establish LSPs
Type
Remote Discr : 130
NextHop
Source IP
Type
Remote Discr : 129
NextHop
Source IP
Up session number: 2
86
dynamically.")
: LSP
: ---
: 3.3.3.9
: LSP
: 10.1.1.2
: 1.1.1.9
Init mode: Active

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 series

Table of Contents