[j-nsp] BGP Policy - then accept == Route Reflector?

Richard A Steenbergen ras at e-gerbil.net
Thu Nov 11 12:10:55 EST 2010


On Thu, Nov 11, 2010 at 02:37:56PM +0100, Sebastian Wiesinger wrote:
> 
> But there is a gotcha there: Cisco WILL NOT send iBGP routes learned 
> from other iBGP peers when I configure such a policy. An MX960 on the 
> other hand WILL happly start to act like a route reflector and pass on 
> all the other iBGP routes that match the AS-Path.

No router will send IBGP learned routes to another IBGP peer unless 
configured to be a route-reflector. 

> My question is, what is the best way to prevent the Juniper router to 
> advertise routes learnt from other iBGP peers? Changing the "accept" 
> action to "next policy" seems to work (as there is no next policy it 
> gets passed trough to the default policy) but I don't know if that's 
> the best way to go...

Use "from route-type external" in your policy to match only the EBGP 
learned routes.

-- 
Richard A Steenbergen <ras at e-gerbil.net>       http://www.e-gerbil.net/ras
GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)


More information about the juniper-nsp mailing list