Routing

Expand all | Collapse all

VXLAN/EVPN

Jump to Best Answer
  • 1.  VXLAN/EVPN

    Posted 07-13-2020 22:52

    Hi! I'm trying to configure VXLAN/EVPN. I've done this before with another vendor, but not Juniper.

    I was following the general guidance from a video on youtube. When it comes to the EVPN protocol, it recommends this config:

     

    protocols {

      evpn {

        encapsulation vxlan;

        default-gateway do-not-advertise;

        extended-vni-list all;

      }

    }

     

    However, I can't get encapsulation to work. When trying to commit, I get the error:

    'encapsulation vxlan'
    Encapsulation can only be configured for an EVPN instance

     

    This seems to mean that I need to create a new routing instance and configure it as an EVPN type. Is that right? I only ask as the video (now 2 years old) didn't mention this.

     

    Thanks!

     

     



  • 2.  RE: VXLAN/EVPN
    Best Answer

    Posted 07-13-2020 23:22

    Hi Luke,

     

    There is a config difference depending on what type of device you are using MX( need routing-instance), QFX( does not need routing-instance),, etc.

    Here is config example for evpn. This example has the following:

    • Two Juniper Networks MX Series routers to act as IP gateways for the EVPN overlay

    • Four Juniper Networks QFX5100 switches. Two of these switches act as PE devices in the EVPN topology, and the other two switches act as pure IP transport for the overlay.

     

    https://www.juniper.net/documentation/en_US/junos/topics/example/evpn-vxlan-mx-qfx-configuring.html

     

    If this solves your problem, please consider to mark this post as "Accepted Solution".

    Best Regards,

    Best Regards,

    Mohamed



  • 3.  RE: VXLAN/EVPN

    Posted 07-14-2020 14:18

    Thanks. That article is helping.

    I'm looking at using this in the campus rather than the DC (so no spine/leaf), but I think most config will be the same.

    Converting my head to the Juniper config is tricky Smiley Frustrated



  • 4.  RE: VXLAN/EVPN

    Posted 07-14-2020 00:36

    Hi Luke,

     

    i would recommend you to look at the Day one book "datacenter deployment with EVPN-VXLAN" found on https://www.juniper.net/documentation/jnbooks/en_US/day-one-books/ - that should get you started.

     

    On top you can spin up a EVPN-VXLAN lab i vLabs where everything is preconfigured.

    vLabs are found on https://jlabs.juniper.net/vlabs/ and are free as long as you have a Juniper.net account - the specific lab I would suggest you to look at, is https://jlabs.juniper.net/vlabs/portal/ip-fabric-evpn-vxlan/index.page

     

    I hope this brings you further with your configuration.

     



  • 5.  RE: VXLAN/EVPN

    Posted 07-14-2020 14:19

    Thanks, I will check out the week one and lab. They both look more intense than what I'm looking for, but hopefully I should be able to get what I need, thanks!



  • 6.  RE: VXLAN/EVPN

    Posted 07-14-2020 14:32

    I found that I need to configure the 'switch-options' section before committing the 'evpn' section; They rely on each other even just to commit.