cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
685
Views
0
Helpful
4
Replies

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

a.diot
Level 1
Level 1

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)

4 Replies 4

etienne.basset
Level 1
Level 1

hello

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

Etienne

thanks for answering etienne ,

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

Regards

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).

HTH-Cheers,

Swaroop

thanks to all,

It's clear for me now

Best regards