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

Michael Lyngbøl michael at lyngbol.dk
Thu Aug 26 07:50:00 EDT 2004


On 26.08.2004 12:38:02 +0000, McCallum, Robert wrote:
> what about an export map and an export statement on the other vrf

It's not an option as I cannot change our standard setup of exporting
vrf routes (hence setting the correct RT). :(

But the other way around should be doable ...

/Michael


> > -----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/
> > 
> 

-- 
Michael Lyngbøl -- michael at lyngbol dot dk
Network Architect, AS3292 TDC, IP·backbone


More information about the cisco-nsp mailing list