Wednesday, August 24, 2011

Configuring MPLS L2VPN InterAS VPWS - EoMPLS Port Mode

In this blogtorial I am going to show you a quick how-to on implementing L2VPN and more specifically Virtual Private Wire Service (EoMPLS Port Mode). VPWS can save money thus increasing the revenue for service providers because P2P circuits are usually more expensive. We are going to be configuring EoMPLS (Ethernet Over MPLS - Port Mode). Note: EoMPLS Modes - Port Mode, VLAN mode and VLAN Re-write mode. AToM (Any transport over MPLS) is sort of the umbrella which covers EoMPLS, FRoMPLS, and ATMoMPLS.

Consider the simple topology below.


Relevant configurations are posted below.
First let's get R1 and R2 configured with the appropriate commands.



What are we doing above? 

1) MPLS label protocol to be LDP instead of TDP (by default it is LDP)
2) Create a pseudowire-class
3) Create a l2 VFI (Virtual Forwarding Instance)
4) Create the neighbor statements
5) Create Loopbacks
6) Interface description and IP addresses / enable MPLS BGP forwarding / enable mpls ip
7) Enable OSPF and get the appropriate networks in Area 0
8) Enable BGP and peer with the other provider and send label information


Now let's get the Provider Edge (PE) routers configured.


What are we doing above? 

1) MPLS label protocol to be LDP instead of TDP (by default it is LDP)
2) Create a pseudowire-class
3) Create Loopbacks
4) Interface ip / enable mpls ip
5) Enable OSPF and get the networks in Area 0
6) Enable Xconnect


Now let's work on the Customer Edge.


Notice how we can transparently ping from R5 to R6.


Let's see some show commands that are useful in verifying our config.


That's it. Easy as that VPWS in a nutshell :)


Click here for full configurations on all the routers. 


Many more articles to come so stay tuned and "Join this site" on the right.