H3C SR8800 10G Mpls Configuration Manual page 357

Core routers
Table of Contents

Advertisement

PE 1
CE 2
Configuration procedure
Configure basic MPLS L3VPN
1.
Configure OSPF on the MPLS backbone to allow the PEs and P device to learn the routes of the
loopback interfaces from each other.
Configure basic MPLS and MPLS LDP on the MPLS backbone to establish LDP LSPs.
Establish MP-IBGP peer relationship between the PEs to advertise VPN IPv4 routes.
Configure the VPN instance of VPN 1 on PE 2 to allow CE 2 to access the network.
Configure the VPN instance of VPN 1 on PE 1 to allow CE 1 to access the network.
Configure BGP between PE 1 and CE 1, and between PE 2 and CE 2 to inject routes of CEs into PEs.
After completing the configurations, issue the display ip routing-table command on CE 2. You can see
that CE 2 has learned the route to network segment 10.1.1.0/24, where the interface used by CE 1 to
access PE 1 resides; but has not learned the route to the VPN (100.1.1.0/24) behind CE 1. The situation
on CE 1 is similar.
<CE2> display ip routing-table
Routing Tables: Public
Destination/Mask
10.1.1.0/24
10.1.1.1/32
10.2.1.0/24
10.2.1.1/32
10.2.1.2/32
127.0.0.0/8
127.0.0.1/32
200.1.1.0/24
200.1.1.1/32
Issue the display ip routing-table vpn-instance command on the PEs. You can see the route to the VPN
behind the peer CE. Take PE 2 as an example:
<PE2> display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destination/Mask
10.1.1.0/24
10.1.1.1/32
10.2.1.0/24
10.2.1.1/32
10.2.1.2/32
100.1.1.1/32
200.1.1.1/32
Loop0
1.1.1.9/32
GE4/1/1
10.1.1.2/24
GE4/1/2
20.1.1.1/24
GE4/1/1
10.2.1.1/24
GE4/1/2
200.1.1.1/24
Destinations : 8
Proto
BGP
BGP
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Destinations : 7
Proto
BGP
BGP
Direct 0
Direct 0
Direct 0
BGP
BGP
PE 2
Routes : 8
Pre
Cost
NextHop
255
0
10.2.1.2
255
0
10.2.1.2
0
10.2.1.1
0
127.0.0.1
0
10.2.1.2
0
127.0.0.1
0
127.0.0.1
0
200.1.1.1
0
127.0.0.1
Routes : 7
Pre
Cost
NextHop
255
0
1.1.1.9
255
0
1.1.1.9
0
10.2.1.2
0
10.2.1.1
0
127.0.0.1
255
0
1.1.1.9
255
0
10.2.1.1
346
GE4/1/2
30.1.1.1/24
Loop0
3.3.3.9/32
GE4/1/1
10.2.1.2/24
GE4/1/2
30.1.1.2/24
Interface
GE4/1/1
GE4/1/1
GE4/1/1
InLoop0
GE4/1/1
InLoop0
InLoop0
InLoop0
InLoop0
Interface
NULL0
NULL0
GE4/1/1
GE4/1/1
InLoop0
NULL0
GE4/1/1

Advertisement

Table of Contents
loading

Table of Contents