Label Advertisement Control Configuration Example - HP FlexNetwork 10500 Series Configuration Manual

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

Advertisement

Label advertisement control configuration example

Network requirements
Two links, Switch A—Switch B—Switch C and Switch A—Switch D—Switch C, exist between
subnets 11.1.1.0/24 and 21.1.1.0/24.
Configure LDP to establish LSPs only for routes to subnets 11.1.1.0/24 and 21.1.1.0/24.
Configure LDP to establish LSPs only on the link Switch A—Switch B—Switch C to forward traffic
between subnets 11.1.1.0/24 and 21.1.1.0/24.
Figure 20 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 Switch A—Switch B—Switch C,
configure IPv4 label advertisement policies as follows:
Switch A advertises only the label mapping for FEC 11.1.1.0/24 to Switch B.
Switch C advertises only the label mapping for FEC 21.1.1.0/24 to Switch B.
Switch D does not advertise label mapping for FEC 21.1.1.0/24 to Switch A. Switch D does
not advertise label mapping for FEC 11.1.1.0/24 to Switch C.
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.
Enable MPLS and IPv4 LDP:
# Configure Switch A.
<SwitchA> system-view
Loop0
1.1.1.9/32
Vlan-int2
10.1.1.1/24
Vlan-int4
Vlan-int6
30.1.1.1/24
Switch A
20. (Details not shown.)
Loop0
2.2.2.9/32
Vlan-int2
Vlan-int3
10.1.1.2/24
20.1.1.1/24
Switch B
Loop0
4.4.4.9/32
Vlan-int6
Vlan-int7
30.1.1.2/24
40.1.1.1/24
Switch D
48
Loop0
3.3.3.9/32
Vlan-int3
20.1.1.2/24
Vlan-int7
Vlan-int5
40.1.1.2/24
21.1.1.1/24
Switch C
21.1.1.0/24

Advertisement

Table of Contents
loading

Table of Contents