Ipv4 Ldp Configuration Examples; Ldp Lsp Configuration Example - HP FlexNetwork 10500 Series Configuration Manual

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

Advertisement

Task
Display LDP summary information.

IPv4 LDP configuration examples

LDP LSP configuration example

Network requirements
Switch A, Switch B, and Switch C all support MPLS.
Configure LDP to establish LSPs between Switch A and Switch C, so subnets 11.1.1.0/24 and
21.1.1.0/24 can reach each other over MPLS.
Configure LDP to establish LSPs only for destinations 1.1.1.9/32, 2.2.2.9/32, 3.3.3.9/32, 11.1.1.0/24,
and 21.1.1.0/24 on Switch A, Switch B, and Switch C.
Figure 18 Network diagram
Vlan-int4
11.1.1.1/24
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 control the number of IPv4 LSPs, configure an IPv4 LSP generation policy on each LSR.
Configuration procedure
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:
# Configure Switch A.
<SwitchA> system-view
[SwitchA] ospf
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] network 11.1.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] quit
[SwitchA-ospf-1] quit
# Configure Switch B.
Loop0
1.1.1.9/32
Vlan-int2
10.1.1.1/24
Vlan-int2
10.1.1.2/24
Switch A
18. (Details not shown.)
Command
display mpls ldp summary [ all | vpn-instance
vpn-instance-name ]
Loop0
2.2.2.9/32
Vlan-int3
20.1.1.2/24
Vlan-int3
20.1.1.1/24
Switch B
40
Loop0
3.3.3.9/32
Vlan-int5
21.1.1.1/24
Switch C
21.1.1.0/24

Advertisement

Table of Contents
loading

Table of Contents