MPLS VPLS configuration with Juniper JunOS

MPLS VPLS configuration with Juniper JunOS

Juniper VPLS MPLS

MPLS VPLS configuration with Juniper JunOS

Posting a Juniper VPLS how-to on a couple of J-series routers. Have been pretty SDN focused lately so wanted to get some real stuff in for a post. Docs on JunOS VPLS can be shaky so nothing like a couple real configs to plugin your address in the lab if having problems with L2 VPNs. This includes MPLS VPLS configuration with Juniper JunOS.

The two PE routers build MPLS/BGP adjacencies to one another to exchange label information and build the LSPs for the two VRFs. VRF Blue is the VPLS virtual circuit and VRF red is a simple L3 VPN you can use to test MP-BGP to test MP-BGP populating it with loopbacks (or phy ints). VPLS can be multipoint while draft-Martini/Kompella are p2p one being LDP (Martini) to signal the label and the other being BGP (Kompella) signalled.

Feel free to hit me up with any questions. I can do more JunOS stuff if anyone needs a hand with particulars. It’s a bit different than IOS starting out but it has structured data model once you get used to it.

JunOS MPLS VPLS VPN

Figure 1. Orange line is the pseudowire or VPLS circuit going through the provider edge nodes to the customer edge nodes.

MPLS VPLS configuration Node 1

root@J1# show

MPLS VPLS configuration Node 2

root@J2# show


If you are interested in other L2 provider encapsulations take a look at QinQ and MAC-in-MAC:
Putting Together Provider Bridging, Provider Backbone Bridging, S-Tags and C-Tags →


Should get you started with P2MP and P2P pseudowires!

Guest
1 year 4 months ago


HI Brent,
I am using opendaylight controller so please kindly help me how to push, swap, pop mpls in the controller using curl commands?

Thanks & regards

Admin
1 year 4 months ago


Hi Vivek, I have just started coding with the OFv1.3 interface. There are still tweaking needed but they did a really nice job with it. I haven’t done anything w/ the northbound interface yet but only accessing the MD-Sal “org.opendaylight.controller.sal” to get flows for OVSDB and Net-Virt nailed down. I will have a post on it as soon as we get it commited in the next week or so. In the meantime here is a screencap of the OF Library to MD Sal conversion. https://www.dropbox.com/s/tuqj1bit6zhr3i6/MD-Sal-UML.png.pdf

Also Here is a Test Unit that Ive been using to get started.
https://git.opendaylight.org/gerrit/gitweb?p=openflowplugin.git;a=blob;f=test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginTestCommandProvider.java;h=0a1301da4ca96ed643cd45d56f2e18b8e288c8f4;hb=b3dd6aac41b5c8e074c325e5bde7318022917e39

Cheers,
-Brent

Guest
1 year 10 months ago


Hi Brent,
thanks a lot once again for the vpls tuto. do you mind doing a tutorial on how to route between private IP address to public IP address on juniper routers (sort of NATTING from private LAN to public IP).

Thanks
Ahmed.

Admin
1 year 10 months ago


Yeah, was spam.

Guest
1 year 10 months ago


What???? i think the above comment is some how in the wrong place, what has handkerchief, tissues and ladies hankies got to do with VPLS stuff!!
otherwise the blog is fine and informative…

Guest
Kay
2 years 5 months ago


Hi,

For the first router, am I correct to assume that config in the excerpt below has a typo with respect to interface ge-1/0/0.10, shouldn’t this be ge-1/0/1.0 ?

Also, any chance you could do a quick topology diagram.

Thanks in advance.

Regards

Kay
mpls {
interface lo0.0;
interface ge-1/0/0.10;
}

Guest
Karthik
2 years 7 months ago


Hi,

I like the explanations that you provide.It would be great if you could provide the router commands to set up the configuration along with show configuration

Regards,
Karthik.

Admin
2 years 7 months ago


Hi Karthik,

The configurations are in there but the version of SyntaxHighlighter is using flash. I use that one since it has the copy to clipboard and view source. I pasted the configuration on Pastebin for you. Let me know if I misunderstood you and you were asking about another configuration.

http://pastebin.com/Jnfn7Ahm

Thanks for the comment and stopping by!
-Brent

Guest
1 year 4 months ago


HI Brent,
I am using opendaylight controller so please kindly help me how to push, swap, pop mpls in the controller using curl commands?

Thanks & regards