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 <[email protected]> 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 <[email protected]> im Auftrag von Vincent > Bernat <[email protected]> > Gesendet: Dienstag, 7. November 2017 07:00 > An: sameer mughal > Cc: [email protected] > Betreff: Re: [j-nsp] Need Assistance > > ❦ 7 novembre 2017 10:52 +0500, sameer mughal <[email protected]> : > >> 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 [email protected] > https://puck.nether.net/mailman/listinfo/juniper-nsp > _______________________________________________ > juniper-nsp mailing list [email protected] > https://puck.nether.net/mailman/listinfo/juniper-nsp _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

