Re: exporting partial routing table

From: Radioactive Frog <pbhatkoti_at_gmail.com>
Date: Tue, 25 May 2010 16:50:30 +1000

Thanks Tyson. Here is what I am trying to achieve and commands:

export only 100.100.100.0/24 (blueVRF) routes into RED vrf

ip vrf RED
rd 1:1
route-target export 1:1
route-target import 1:2

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

route-map BLUE
  match ip address 1

access-list 1 permit 100.100.100.0 0.0.0.255

now the qusetion is with below config:
a) will it only export 100.100.100.0 subnet (acces-list 1)

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

OR

I still need below 3 commands to export specific route.

ip vrf BLUE
rd 1:2
route-import 1:1
route-export 1:2 <---------------this command +
export map BLUE <----------this command +
route-target import 1:1 <-----------this command

thanks

On Tue, May 25, 2010 at 2:50 PM, Tyson Scott

<tscott_at_ipexpert.com> wrote:

> Well if all of the routes that you want to share are only on the same
> device
> you could separate the VRF's with different route targets and control which
> route-targets you import between VRF's.
>
> If this is not the case use the import maps using any combination of
> prefix-lists and communities you would like to accomplish the task. You
> didn't describe much as to how the routes are originating so there could be
> other possibilities but the above should suffice.
>
> Regards,
>
> Tyson Scott - CCIE #13513 R&S, Security, and SP
> Managing Partner / Sr. Instructor - IPexpert, Inc.
> Mailto: tscott_at_ipexpert.com
>
>
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Radioactive Frog
> Sent: Monday, May 24, 2010 11:44 PM
> To: Cisco certification
> Subject: VRF: exporting partial routing table
>
> trying to find quick and easy way - What is the best way to export partial
> routes into/between the VRF(s)
>
> VRF: red - 10 routes (192.168.1-10.x/24)
> VRF; blue - 10 routes ( 193.1.1-10.x/24)
>
> I want only 5 routes to export from RED_vrf to Blue VRF.
>
> route-target export exports everything.
>
> I haven't tried MAP with route-export so would like to see group's openion
> on quick way to do it.
>
> thanks
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Tue May 25 2010 - 16:50:30 ART

This archive was generated by hypermail 2.2.0 : Tue Jun 01 2010 - 07:09:53 ART