VRFs: exporting partial routes without MBGP

From: Radioactive Frog <pbhatkoti_at_gmail.com>
Date: Fri, 4 Jun 2010 11:59:59 +1000

R1-------R2
   \-------R3

R1 interconnect with R2 (VRF BLUE) and R3 (VRF GREEN) via MBGP.

On R1 I want I want to import export routes of BLUE and GREEN into "RED"
vrf. when I use below route-target impot/export it works. I can see all
routes from BLUE and GREEN into "RED".

---------R1 conf-----------
ip vrf RED
 rd 100:1

 route-target export 100:1
 route-target import 100:2
 route-target import 100:3

ip vrf BLUE
 rd 100:2
 route-target export 100:2
 route-target import 100:1

ip vrf GREEN
 rd 100:3
 route-target export 100:3
 route-target import 100:1

Everything works. I can see BLUE and GREEN VRF route on R1 into VRF RED.

Now I want to to export a partial routing table from GREEN and BLUE vrf to
RED vrf.

I have tried with 'export map' command but it needs BGP peering. My scenario
is my all 3 VRFs are in R1.
So can we do partial routing table export/import on the same router with
BGP?

thanks

Blogs and organic groups at http://www.ccie.net
Received on Fri Jun 04 2010 - 11:59:59 ART

This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 09:11:37 ART