[c-nsp] Multiple Route-Target import within VRF

Rano Karno chubby_cripth at yahoo.com
Mon Dec 28 06:55:36 EST 2009


Hi Oli,

thanks again for your help,

>This could be caused by BGP's automatic RT filter, which is not examining the import route-maps when deciding whether or not to accept a vpnv4 iBGP update. So if there is no other VRF on PE#2 with "route-target import 1:222" or ".. 1:333", you need to enable
-> by disabling "no bgp default route-target filter" the result shown is PE#1 and PE#2 will directly install the route for each VRF match RD value not by matching the route-target, because it ignore any route-target configured.
please look for "Output#1" which is the same at PE#1 and PE#2. in this scenario I also tried using import map which is no impact. i just importing based on same RD regarding route-target.

>You still want to consider re-designing this, using distinct RTs to
achieve this policy.
-> Yes, we are planning too, but at the moment I am dealing with such a mess :(

we are having a lot of PEs with multiple route-target, if cisco device is importing routes based on single route-target then, there will be mess within routes received in Cisco device
I also thinking about another workaround in case Cisco device unable to match multiple route-target by filtering received route within vrf based on prefix-list <but I haven't tried this>

! #Output#1
! "no bgp default route-target filter
! PE#2
ip vrf ABC
 rd 1:111
!
interface Loopback111
 ip vrf forwarding ABC
 ip address 1.22.111.1 255.255.255.0
!
!#show ip bgp vpnv4 all
Route Distinguisher: 1:111 (default for vrf ABC)
*>i1.11.111.0/24    150.1.4.4                0    100      0 ?
*> 1.22.111.0/24    0.0.0.0                  0         32768 ?
!
! PE#1
ip vrf ABC
 rd 1:111
 export map exp_abc
!
route-map exp_abc permit 10
 set extcommunity rt  1:222 1:333
!
interface Loopback111
 ip vrf forwarding ABC
 ip address 1.11.111.1 255.255.255.0
!
! #show ip bgp vpnv4 all
Route Distinguisher: 1:111 (default for vrf ABC)
*> 1.11.111.0/24    0.0.0.0                  0         32768 ?
*>i1.22.111.0/24    150.1.3.3                0    100      0 ?


best regards,
Rano





      New Email addresses available on Yahoo!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/


More information about the cisco-nsp mailing list