[c-nsp] Importing specific routes from one VRF into another VRF
Michael Lyngbøl
michael at lyngbol.dk
Thu Aug 26 07:11:06 EDT 2004
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
More information about the cisco-nsp
mailing list