MPLS L3 VPN Lab-

Here’s what’s used in this lab.

OSPF

VRF 

LDP

L3 VPN

iBGP/eBGP

IGP and LDP-

We will configure all the PE routers first with IP addressing and IGP (OSPF in this case) and LDP within the service provider network. There are couple of ways to setup LDP.

• On the interface level with the mpls ip command
• Globally under the OSPF process with the mpls autoconfig command.

In our case we will set it up globally. Once that’s completed, we can verify it-

First All the PE routers-

We can also verify the mpls ldp neighborship between routers-

Here we see R1-PE and R5-P have become neighbors.

We see above that R5-P is not only established neighborship with R1-PE but R6, R7 and R8.

In MPLS all routers start assigning labels with label value 16, we will assign our own label value to each router..

R1-PE(config)#mpls label range 100 199

Labels are assigned to each router from 100 to 800 depending on the router name-

NOTE – reloading the router is necessary after assigning labels.

 

VRF on the PE routers-

 

Now we will set VRF on all PE routers

iBGP config on all PE routers – 

Now we’ll setup iBGP on all PE routers-

We can verify after the configuration to check if iBGP is working-by running the
Show bgp vpnv4 unicast all summary command.

Once we’re done with all the configurations for PE, P and CE routers, the end goal is to keep the traffic separate for both C1 and C2 once it goes through the service provides network.

Let’s verify-

On router C1, we see all the routers from all the other C1 routers

Everything seems to be working and traffic is separated according to the correct CE router….