MPLS VPLS configuration with Juniper JunOS

[fancy_header3 variation=”orange”]MPLS VPLS configuration with Juniper JunOS[/fancy_header3]

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.

[image_frame style=”framed_shadow” align=”center” alt=”JunOS MPLS VPLS VPN”]http://networkstatic.net/~bbsali0/wp-content/uploads/2012/05/l2vpn-topo1.jpg[/image_frame]

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

[fancy_header3 variation=”orange”]MPLS VPLS configuration Node 1[/fancy_header3]

root@J1# show

[fancy_header3 variation=”orange”]MPLS VPLS configuration Node 2[/fancy_header3]

root@J2# show


If you are interested in other L2 provider encapsulations take a look at QinQ and MAC-in-MAC:
[fancy_link variation=”orange” link=”http://networkstatic.net/putting-together-provider-bridging-provider-backbone-bridging-s-tags-and-c-tags/”]Putting Together Provider Bridging, Provider Backbone Bridging, S-Tags and C-Tags[/fancy_link]


Should get you started with P2MP and P2P pseudowires!

9 comments


  1. 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.


    1. 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


      1. 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


  2. 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;
    }


  3. 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…


  4. 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.


  5. 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


    1. 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

Comments are closed.