[j-nsp] Route Leaking within the PE routers in BGP/MPLS VPNs

Hannes Gredler hannes at juniper.net
Thu Oct 26 21:23:20 EDT 2006



Abhishek Verma wrote:
> Hi,
> 
> I have a doubt.
> 
> Lets say i configure the following VRFs on a PE device.
> 
> ip vrf XX
>   rd 1:1
>   route-target export 1:1
>   route-target import 2:2
> 
> ip vrf YY
>   rd 1:2
>   route-target both 10:10
>   route-target import 1:1
> 
> (i) Now, i add a static route in vrf XX. Will this route be locally
> imported in VRF YY (logic being that the export RT of vrf XX matches
> that with the import RTs of YY).

not by default - you'd need to use the auto-export knob or configure
a rib-group [XX YY] to make the statics visible in YY.

> (ii) This PE receives a BGP UPDATE will RTs 2:2
> 
> This route would be inserted into VRF XX. Will this route also get
> imported in VRF YY, again as the export RTs of XX matches with that of
> YY.

the route would be inserted in any local VRFs that have
a. a matching route-target or
b. a match in the vrf-import policy.

HTH,

/hannes


More information about the juniper-nsp mailing list