Re: [j-nsp] Need Assistance

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

___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: [j-nsp] Need Assistance

2017-11-07 Thread Julian Seifert
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  im Auftrag von Vincent 
Bernat 
Gesendet: Dienstag, 7. November 2017 07:00
An: sameer mughal
Cc: juniper-nsp@puck.nether.net
Betreff: Re: [j-nsp] Need Assistance

 ❦  7 novembre 2017 10:52 +0500, sameer mughal  :

> 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@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: [j-nsp] Need Assistance

2017-11-06 Thread Heath Jones
Ps.. Should that be a /12 ?

On Tue, 7 Nov 2017 at 4:53 pm, sameer mughal  wrote:

> Hi All,
>
> Kindly review below routes, can anyone please help me to prefer BGP over
> OSPF internal route?
> What will be the configuration, please?
>
> 172.16.0.0/16  *[OSPF/10] 1d 03:16:11, metric 2
> > via st0.1
> [BGP/170] 1d 03:17:10, localpref 100
>   AS path: 9541 64520 I
> > to 192.168.108.65 via fe-0/0/7.0
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon
> >
> Virus-free.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] Need Assistance

2017-11-06 Thread Vincent Bernat
 ❦  7 novembre 2017 10:52 +0500, sameer mughal  :

> 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@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

[j-nsp] Need Assistance

2017-11-06 Thread sameer mughal
Hi All,

Kindly review below routes, can anyone please help me to prefer BGP over
OSPF internal route?
What will be the configuration, please?

172.16.0.0/16  *[OSPF/10] 1d 03:16:11, metric 2
> via st0.1
[BGP/170] 1d 03:17:10, localpref 100
  AS path: 9541 64520 I
> to 192.168.108.65 via fe-0/0/7.0


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp