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!

  1. KarthikKarthik09-30-2012


    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.

    • Brent SalisburyBrent Salisbury09-30-2012


      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

      • vivekvivek01-03-2014


        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. KayKay12-03-2012


    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. ahmedahmed06-24-2013


    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. Brent SalisburyBrent Salisbury06-28-2013


    Yeah, was spam.

  5. ahmedahmed06-28-2013


    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.

  6. vivekvivek01-03-2014


    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