[c-nsp] Importing specific routes from one VRF into another V RF

McCallum, Robert robert.mccallum at thus.net
Thu Aug 26 07:38:02 EDT 2004


what about an export map and an export statement on the other vrf

Robert McCallum 
CCIE #8757 R&S


> -----Original Message-----
> From: Michael Lyngbøl [mailto:michael at lyngbol.dk] 
> Sent: 26 August 2004 12:11
> To: cisco-nsp at puck.nether.net
> Subject: [c-nsp] Importing specific routes from one VRF into 
> another VRF
> 
> 
> Hi,
> 
> I'm trying to import a couple of specific routes from one VRF 
> (RD 123:2) into VRF FOO (RD 123:1)
> 
> Config:
> 
> ip vrf FOO
>  rd 123:1
>  import map FOO-IMPORT
>  route-target export 123:1
>  route-target import 123:1
> 
> route-map FOO-IMPORT permit 10
>  match ip address prefix-list VRF2-IMPORT
>  match extcommunity 2
> !
> route-map FOO-IMPORT permit 20
>  match extcommunity 1
> !
> 
> ip extcommunity-list 1 permit rt 123:1
> ip extcommunity-list 2 permit rt 123:2
> 
> ip prefix-list VRF2-IMPORT permit 192.168.195.0/24
> 
> But what I end up with is no routes from VRF2 being imported 
> into vrf FOO.  All VRF1 routes are imported.
> 
> It's no option to add 'route-target import 123:2' under 'ip 
> vrf FOO' as it'll import all VRF2 routes into vrf FOO.
> 
> 
> Any hints?
> 
> Thanks,
> /Michael
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net 
> https://puck.nether.net/mailman/listinfo/cisco> -nsp
> archive at 
> http://puck.nether.net/pipermail/cisco-nsp/
> 



More information about the cisco-nsp mailing list