Ldp Frr Configuration Example - HP FlexNetwork HSR6600 Configuration Manual

Comware 7 mpls
Hide thumbs Also See for FlexNetwork HSR6600:
Table of Contents

Advertisement

LDP FRR configuration example

Network requirements
Router S, Router A, and Router D reside in the same OSPF domain. Configure OSPF FRR so LDP
can establish a primary LSP and a backup LSP on the Router S—Router D and the Router
S—Router A—Router D links, respectively.
When the primary LSP operates correctly, traffic between subnets 11.1.1.0/24 and 21.1.1.0/24 is
forwarded through the LSP.
When the primary LSP fails, traffic between the two subnets can be immediately switched to the
backup LSP.
Figure 21 Network diagram
Loop0
1.1.1.1/32
11.1.1.0/24
Requirements analysis
To ensure that the LSRs establish IPv4 LSPs automatically, enable IPv4 LDP on each LSR.
To establish IPv4 LDP LSPs, configure an IPv4 routing protocol to ensure IP connectivity
between the LSRs. This example uses OSPF.
To ensure that LDP establishes IPv4 LSPs only for the routes 11.1.1.0/24 and 21.1.1.0/24,
configure IPv4 LSP generation policies on each LSR.
To allow LDP to establish backup LSRs, configure OSPF FRR on Router S and Router D.
Configuration procedure
1.
Configure IP addresses and masks for interfaces, including the loopback interfaces, as shown
in
Figure
2.
Configure OSPF on each router to ensure IP connectivity between them. (Details not shown.)
3.
Configure OSPF FRR by using one of the following methods:
(Method 1.) Enable OSPF FRR to calculate a backup next hop by using the LFA algorithm:
# Configure Router S.
<RouterS> system-view
[RouterS] bfd echo-source-ip 10.10.10.10
[RouterS] ospf 1
[RouterS-ospf-1] fast-reroute lfa
[RouterS-ospf-1] quit
# Configure Router D.
<RouterD> system-view
Router A
GE1/1/2
13.13.13.1/24
Router S
21. (Details not shown.)
Loop0
2.2.2.2/32
Backup LSP
Primary LSP
GE1/1/2
13.13.13.2/24
52
Loop0
3.3.3.3/32
Router D
21.1.1.0/24

Advertisement

Table of Contents
loading

Table of Contents