[j-nsp] Need Assistance

Brian Johnson brian.johnson at netgeek.us
Tue Nov 7 09:20:09 EST 2017


Completely agree. Unless you want all BGP routes to have a better preference than all OSPF routes. The route policy is a scalpel, the protocol preference is a hammer.

- Brian


> On Nov 7, 2017, at 7:26 AM, Julian Seifert <js at dacor.de> wrote:
> 
> Hi,
> 
> wouldn't it be more preferable(less general impact  than completely changing protocol preferene value) to set the routepreference for this specific route 
> to <10 in the BGP import policy? 
> 
> set policy-options policy-statement BGP-IMPORT term set-Pref from route-filter 172.16.0.0/16 exact
> set policy-options policy-statement BGP-IMPORT term set-Pref then preference 9
> 
> kind regards,
> 
> Julian
> 
> 
> ________________________________________
> Von: juniper-nsp <juniper-nsp-bounces at puck.nether.net> im Auftrag von Vincent Bernat <bernat at luffy.cx>
> Gesendet: Dienstag, 7. November 2017 07:00
> An: sameer mughal
> Cc: juniper-nsp at puck.nether.net
> Betreff: Re: [j-nsp] Need Assistance
> 
> ❦  7 novembre 2017 10:52 +0500, sameer mughal <pcs.sameer1 at gmail.com> :
> 
>> Hi All,
>> 
>> Kindly review below routes, can anyone please help me to prefer BGP over
>> OSPF internal route?
>> What will be the configuration, please?
> 
> set protocols ospf preference 180
> --
> Make sure your code "does nothing" gracefully.
>            - The Elements of Programming Style (Kernighan & Plauger)
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list