HP 12500 Series Configuration Manual page 330

Mpls, routing switch series
Table of Contents

Advertisement

Switch A
Configuration procedure
Configure OSPF on the customer networks.
1.
Configure conventional OSPF on CE 1, Switch A, and CE 2 to advertise segment addresses of the
interfaces as shown in
After completing the configurations, CE 1 and CE 2 should be able to learn the OSPF route to the
VLAN interface 1 of each other. The following takes CE 1 as an example:
<CE1> display ip routing-table
Routing Tables: Public
Destination/Mask
20.1.1.0/24
20.1.1.1/32
20.1.1.2/32
30.1.1.0/24
100.1.1.0/24
100.1.1.1/32
120.1.1.0/24
127.0.0.0/8
127.0.0.1/32
Configure MPLS L3VPN on the backbone.
2.
# Configure basic MPLS and MPLS LDP on PE 1 to establish LDP LSPs.
<PE1> system-view
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 1.1.1.9 32
[PE1-LoopBack0] quit
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface vlan-interface 2
[PE1-Vlan-interface2] ip address 10.1.1.1 24
[PE1-Vlan-interface2] mpls
[PE1-Vlan-interface2] mpls ldp
[PE1-Vlan-interface2] quit
# Configure PE 1 to take PE 2 as the MP-iBGP peer.
[PE1] bgp 100
[PE1-bgp] peer 2.2.2.9 as-number 100
[PE1-bgp] peer 2.2.2.9 connect-interface loopback 0
[PE1-bgp] ipv4-family vpnv4
[PE1-bgp-af-vpnv4] peer 2.2.2.9 enable
[PE1-bgp-af-vpnv4] quit
Vlan-int1
100.1.1.2/24
Vlan-int2
10.1.1.1/24
Vlan-int1
20.1.1.2/24
Vlan-int2
30.1.1.1/24
Figure
76. (Details not shown)
Destinations : 9
Proto
Pre
Direct 0
Direct 0
Direct 0
OSPF
10
Direct 0
Direct 0
OSPF
10
Direct 0
Direct 0
Routes : 9
Cost
NextHop
0
20.1.1.1
0
127.0.0.1
0
20.1.1.2
3124
20.1.1.2
0
100.1.1.1
0
127.0.0.1
3125
20.1.1.2
0
127.0.0.1
0
127.0.0.1
322
Vlan-int1
120.1.1.2/24
Vlan-int2
10.1.1.2/24
Interface
Vlan2
InLoop0
Vlan2
Vlan2
Vlan1
InLoop0
Vlan2
InLoop0
InLoop0

Advertisement

Table of Contents
loading

Table of Contents