HP HPE FlexNetwork MSR Router Series Configuration Manual page 54

Table of Contents

Advertisement

Figure 19 Network diagram
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 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 ensure that LDP establishes IPv4 LSPs only over the link Router A—Router B—Router C,
configure IPv4 label acceptance policies as follows:
Router A accepts only the label mapping for FEC 21.1.1.0/24 received from Router B.
Router A denies the label mapping for FEC 21.1.1.0/24 received from Router D.
Router C accepts only the label mapping for FEC 11.1.1.0/24 received from Router B.
Router C denies the label mapping for FEC 11.1.1.0/24 received from 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.
Enable MPLS and IPv4 LDP:
# Configure Router A.
<RouterA> system-view
[RouterA] mpls lsr-id 1.1.1.9
[RouterA] mpls ldp
[RouterA-ldp] quit
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] mpls enable
[RouterA-Serial2/1/0] mpls ldp enable
[RouterA-Serial2/1/0] quit
[RouterA] interface serial 2/1/1
[RouterA-Serial2/1/1] mpls enable
[RouterA-Serial2/1/1] mpls ldp enable
[RouterA-Serial2/1/1] quit
Loop0
1.1.1.9/32
Ser2/1/0
10.1.1.1/24
GE2/0/1
Ser2/1/1
30.1.1.1/24
Router A
19. (Details not shown.)
Loop0
2.2.2.9/32
Ser2/1/0
Ser2/1/1
10.1.1.2/24
20.1.1.1/24
Router B
Loop0
4.4.4.9/32
Ser2/1/0
Ser2/1/1
30.1.1.2/24
40.1.1.1/24
Router D
44
Loop0
3.3.3.9/32
Ser2/1/0
20.1.1.2/24
Ser2/1/1
GE2/0/1
40.1.1.2/24
21.1.1.1/24
Router C
21.1.1.0/24

Advertisement

Table of Contents
loading

Table of Contents