Page MenuHomeVyOS Platform

Allow BGP to use address-family l2vpn evpn
Closed, ResolvedPublicFEATURE REQUEST



please make it possible to configure bgp address-family l2vpn evpn.
frr has support for it. See bgp documentation


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

syncer triaged this task as Wishlist priority.Apr 17 2019, 7:40 PM
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.

I created a network diagram for "l2vpn evpn" implementation.
I used this instruction vxlan-bgp-vpn

Each VTEP opens a BGP session with central Route-Reflector (RR), sends its information (MACs and VNIs) and receives others.
On RR we use the feature "bgp listen range peer-group fabric". Therefore, we don't need to configure each neighbor, they have connected via BGP automatically.

Because At this stage, the VyOS doesn't support all the necessary commands, some of them are loaded from the "/config/scripts/vyos-postconfig-bootup.script".
These are mainly such commands:

sudo ip link add vxlan14 type vxlan id 14 dstport 8472 local nolearning

vtysh -c "conf t" -c "router bgp 65001" -c " address-family l2vpn evpn" -c " neighbor fabric activate" -c " advertise-all-vni "

In the configuration, I don't use default routes.

Router configurations below.

So we can ping from VPC11 = > VPC12

l-11> ping -c 3

84 bytes from icmp_seq=1 ttl=64 time=3.777 ms
84 bytes from icmp_seq=2 ttl=64 time=3.134 ms
84 bytes from icmp_seq=3 ttl=64 time=3.109 ms


Show routes from "left-r1":

left-r1# show ip bgp l2vpn evpn neighbors routes 
BGP table version is 5, local router ID is
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: ip

                         0    100      0 i
                    RT:65001:14 ET:8
                         0    100      0 i
                    RT:65001:11 ET:8
                         0    100      0 i
                    RT:65001:11 ET:8
Route Distinguisher: ip

                         0    100      0 i
                    RT:65001:12 ET:8
Route Distinguisher: ip

                         0    100      0 i
                    RT:65001:14 ET:8

Displayed 5 out of 8 total prefixes
left-r1# show evpn vni 
VNI        Type VxLAN IF              # MACs   # ARPs   # Remote VTEPs  Tenant VRF                           
12         L2   vxlan12               1        1        1               default                              
11         L2   vxlan11               1        1        1               default 

left-r1# show evpn vni 11
VNI: 11
 Type: L2
 Tenant VRF: default
 VxLAN interface: vxlan11
 VxLAN ifIndex: 8
 Local VTEP IP:
 Mcast group:
 Remote VTEPs for this VNI: flood: HER
 Number of MACs (local and remote) known for this VNI: 1
 Number of ARPs (IPv4 and IPv6, local and remote) known for this VNI: 1
 Advertise-gw-macip: No

If someone has experience in this or uses a different scheme, please contact.

c-po changed the task status from Open to Needs testing.Feb 13 2021, 8:48 PM
c-po closed this task as Resolved.
c-po claimed this task.
c-po set Is it a breaking change? to Unspecified (possibly destroys the router).