import/export rte target on two dif vrf on the same PE

Unanswered Question
Sep 21st, 2007
User Badges:

hi all ,

I'm newbie in mpls and i've the following question

let's say i've 2 CE connected on the same PE in two different VRF interf.

Can i import/export rte target from one vrf to another ?

(In my understanding , import/export are linked to bgp communities)

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
etienne.basset Fri, 09/21/2007 - 01:40
User Badges:


route-target are bgp extend community, attached to mpbgp updates

a VRF can be configured to export its own routes with one or more RT

a VRF can be configured to import whatever RT you like

so it's very flexible

(assuming you're refering to 'standard VRF', not vrf lite )

ip vrf A

route-target both A

route-target import B

ip vrf B

route-target both B

route-target import A


a.diot Fri, 09/21/2007 - 01:47
User Badges:

thanks for answering etienne ,

so vrf A can import route from vrf B even if bgp is not configured on the PE router.


swaroop.potdar Fri, 09/21/2007 - 03:41
User Badges:
  • Blue, 1500 points or more

Yes Diot, you can import and export between VRF's on the same PE, but you will need BGP running for this with configured address families.

If you want to make it a vrf-lite type of implementation, then also you can still use BGP and keep it standalone (no IBGP peering with anyone).



a.diot Fri, 09/21/2007 - 04:15
User Badges:

thanks to all,

It's clear for me now

Best regards


This Discussion