Posted on August 2, 2020 11:23 pm
 |  Asked by michael
Print Friendly, PDF & Email


i have a l3 switch with VRF-A configured and a couple of vlans, including vlan 150, in the global routing table

i’m using bgp evpn, no mpls

can anyone advise the best way to export vlan 150 from the global routing table into VRF-A or refer me to a configuration example


Answered on August 3, 2020 5:46 pm

Hi Michael,

There are a couple of ways you can leak the route from default VRF to non-default VRF (VRF-A) depending on the your use case and requirements.

Method1: If the prefix (P1) to be leaked is on a remote VTEP default VRF, you can import that into non-default VRF on other VTEPs. Please refer to the below TOI

Method2: If the prefixes you want to leak are strictly on one VTEP only, you can do that using VRF-leak agent. Please refer to below guide for the same:

Posted by Alexis Dacquay
Answered on August 3, 2020 6:29 pm


If you already have EVPN then you already have the Layer3 capability.

You just need to put your interface vlan 150 in VRF-A:


vrf instance VRF-A

interface vlan 150

vrf VRF-A

! note: you may need to reapply your IP address there



Now, if you desire to distribute that VLAN 150 subnet with Layer3 EVPN, then you can configure VRF-A as a L3 VPN in the router BGP configuration mode:


router bgp 123

vrf VRF-A


For all the details, please refer to the EVPN deployment guide in the Design Guides section:



Thank you,


Post your Answer

You must be logged in to post an answer.