For Juniper Networks EX/QFX Series Switches that support EVPN VXLAN, after configuring the following commands, we show a commit error:
set protocols evpn encapsulation vxlan set protocols evpn multicast-mode ingress-replication set protocols evpn extended-vni-list all [edit protocols evpn encapsulation] 'encapsulation vxlan' Encapsulation can only be configured for an EVPN instance [edit protocols evpn encapsulation] 'encapsulation vxlan' error: commit failed: (statements constraint check failed
On Juniper Networks Switches, when configuring protocols EVPN, we need to configure default routing instance options (virtual switch type).
For example:
[edit] user@Spine1# set switch-options vtep-source-interface lo0.0 user@Spine1# set switch-options route-distinguisher 192.168.1.1:1 user@Spine1# set switch-options vrf-target target:65000:1 user@Spine1# set switch-options vrf-target auto
This is explained on the configuration guide for EVPN VXLAN: https://www.juniper.net/documentation/us/en/software/junos/evpn-vxlan/index.html
08/09/2023 - KB Created01/16/2024 - Minor edit.