Routing

Expand all | Collapse all

auto-export for VRF route sharing

Jump to Best Answer
  • 1.  auto-export for VRF route sharing

    Posted 02-12-2020 06:28
      |   view attached

    Hi,

    My set up is a MPLS/L3VPN core network and within my multiple VRF instances I have import and export policies where I add (export) and match (import) on community values. Therefore looking at the juniper technote example what exactley does auto-export feature do when I want to do route sharing between local VRF instances, when I am already adding/matching community values in the bgp.l3vpn table for remote routes and now wanting to do route sharing between local VRFs?

    Attachment(s)



  • 2.  RE: auto-export for VRF route sharing
    Best Answer

     
    Posted 02-12-2020 07:56
    Hi Colin500, The standard VRF import and export policies affect remote PE prefix leaking. Meaning, import policy on a local PE tries to match the route-target applied via export policy on remote PE and if there is a match it installs that route in vpn.inet.0 table. However, scope of auto-export is local. It doesn't affect the remote PE prefix learning. When you configure auto-export, the vrf-import and vrf-export policies are compared across all VRF instances on LOCAL PE. If there is a common route target community between the instances, the routes are shared. Here is an excellent blog on auto-export: https://forums.juniper.net/t5/Archive/Using-rib-groups-or-auto-export-for-route-leaking/ba-p/202349 Here is an example on practical use of auto-export: http://switchpacket.blogspot.com/2014/03/juniper-route-leaking-part-3-vrf-route.html PS: Please accept my response as solution if it answers your query, kudos are appreciated too! Thanks Vishal


  • 3.  RE: auto-export for VRF route sharing

    Posted 02-12-2020 08:24

    Hi Vishal,

    I think the penny has dropped, thank you for responding.