RTLIST import in l2vpn-evpn


In my L2VPN BGP peering, I would like to import multiple route-target.

I read the documentation and it seems possible to import a list only for ipv4|6-unicast BGP peering :

Would it be possible to add this feature for L2VPN BGP peering ?

vyos@vyos-1# set vrf name BLUE protocols bgp address-family ipv4-unicast route-target vpn import
Possible completions:
   <text>               Space separated route target list (A.B.C.D:MN|EF:OPQR|GHJK:MN)

vyos@vyos-1# set vrf name BLUE protocols bgp address-family l2vpn-evpn route-target import
Possible completions:
   <text>               Route target (A.B.C.D:MN|EF:OPQR|GHJK:MN)

Thanks to you :slight_smile:

Hi @trifly,

unfortunately this is not supported by FRR which is the underlaying control plane used by VyOS.

vyos@vyos:~$ vtysh

Hello, this is FRRouting (version 8.3.1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

vyos# conf t
vyos(config)# router bgp 100
vyos(config-router)# address-family l2vpn evpn
vyos(config-router-af)# route-target import
  RT  Route target (A.B.C.D:MN|EF:OPQR|GHJK:MN)
1 Like

Hi @trifly,

turns out the route-target line can be specified multiple times on FRR. I will add this functionality - should be available in the next rolling release.


1 Like

Hi @c-po

Great news ! :slight_smile:
Thanks for your work !