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:
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.
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.
If this solves your problem, please consider to mark this post as "Accepted Solution".
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
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.
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!
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.