254
Vlan-int12 20.1.1.1/24 Vlan-int11 30.1.1.2/24
CE 2 Vlan-int12 10.2.1.1/24 Vlan-int12 10.2.1.2/24
Vlan-int13 200.1.1.1/24
Configuration procedure
1. Configuring basic MPLS L3VPN:
ï‚¡ 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 VPNv4 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 and redistribute
routes of CEs into PEs.
For more information about basic MPLS L3VPN configurations, see "Configuring basic MPLS
L3VPN."
# Execute the display ip routing-table command on CE 2. The output shows that CE 2 has
learned the route to network 10.1.1.0/24, where the interface used by CE 1 to access PE 1
resides. However, it has not learned the route to the VPN (100.1.1.0/24) behind CE 1.
<CE2> display ip routing-table
Destinations : 17 Routes : 17
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.0/24 BGP 255 0 10.2.1.2 Vlan12
10.2.1.0/24 Direct 0 0 10.2.1.1 Vlan12
10.2.1.0/32 Direct 0 0 10.2.1.1 Vlan12
10.2.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.2.1.255/32 Direct 0 0 10.2.1.1 Vlan12
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
200.1.1.0/24 Direct 0 0 200.1.1.1 Vlan13
200.1.1.0/32 Direct 0 0 200.1.1.1 Vlan13
200.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
200.1.1.255/24 Direct 0 0 200.1.1.1 Vlan13
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
# Execute the display ip routing-table command on CE 1 to verify that CE 1 has not learned
the route to the VPN behind CE 2. (Details not shown.)
# Execute the display ip routing-table vpn-instance command on the PEs. The output shows
the route to the VPN behind the peer CE. This example uses PE 2.
<PE2> display ip routing-table vpn-instance vpn1