Ldp Frr Configuration Example - HP FlexNetwork 10500 Series Configuration Manual

Hide thumbs Also See for FlexNetwork 10500 Series:
Table of Contents

Advertisement

LDP FRR configuration example

Network requirements
Switch S, Switch A, and Switch D reside in the same OSPF domain. Configure OSPF FRR so LDP
can establish a primary LSP and a backup LSP on the Switch S—Switch D and the Switch S—Switch
A—Switch 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 is 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 Switch S and Switch D.
Configuration procedure
Before configuration, disable the spanning tree feature globally or map each VLAN to an MSTI. For
more information, see Layer 2—LAN Switching Configuration Guide.
1.
Configure IP addresses and masks for interfaces, including the loopback interfaces, as shown
in
Figure
2.
Configure OSPF on each switch 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 Switch S.
<SwitchS> system-view
[SwitchS] bfd echo-source-ip 10.10.10.10
[SwitchS] ospf 1
[SwitchS-ospf-1] fast-reroute lfa
[SwitchS-ospf-1] quit
Switch A
Vlan-int13
13.13.13.1/24
Switch S
21. (Details not shown.)
Loop0
2.2.2.2/32
Backup LSP
Primary LSP
Vlan-int13
13.13.13.2/24
53
Loop0
3.3.3.3/32
Switch D
21.1.1.0/24

Advertisement

Table of Contents
loading

Table of Contents