[j-nsp] Fwd: Re: BGP Multipath
Keith
kwoody at citywest.ca
Fri Jul 19 13:34:32 EDT 2013
Thanks for the all the replies.
We actually do some local-pref on some other upstreams for outbound but discovered a small
wrinkle
in that the new connection uses a different bgp auth key so I have to create a new bgp
group to handle this
connection.
So a new question arises, can I use existing import/export policy that is used on one bgp
group already on
a new one?
My SRX240 (one of my lab devices) doesn't complain and my neighbors come up when I
configure it on the
lab stuff so I'm guessing our MX wont have a problem either.
Thanks,
Keith
On 7/18/2013 6:22 PM, Payam Chychi wrote:
> Many ways to skin a cat... personally i would use local pref for outbound and as-prepend
> on the inbound and your golden
>
> --
> Payam Chychi
> Network Engineer / Security Specialist
>
> On Thursday, 18 July, 2013 at 4:45 PM, Tim Vollebregt wrote:
>
>> Hi Keith,
>>
>> Yes, this sounds good. But to have the inbound/outbound traffic on the new 10GE link
>> you will have to influence the path selection on both import and export policies.
>>
>> A good way to do this is:
>>
>> import policy:
>>
>> set policy-options policy-statement upstream-in term 1GE from neighbor 1.1.1.1
>> set policy-options policy-statement upstream-in term 1GE then metric 1000
>> set policy-options policy-statement upstream-in term 1GE then accept
>> set policy-options policy-statement upstream-in term 10GE from neighbor 2.2.2.2
>> set policy-options policy-statement upstream-in term 10GE then metric 1
>> set policy-options policy-statement upstream-in term 10GE then accept
>>
>> Of course this is just an example, you can use either accept or next policy and all
>> other flavors of routing decision/filtering.
>>
>> export policy:
>>
>> set policy-options policy-statement upstream-out term 1GE to neighbor 1.1.1.1
>> set policy-options policy-statement upstream-out term 1GE then metric 1000
>> set policy-options policy-statement upstream-out term 1GE then accept
>> set policy-options policy-statement upstream-out term 10GE to neighbor 2.2.2.2
>> set policy-options policy-statement upstream-out term 10GE then metric 1
>> set policy-options policy-statement upstream-out term 10GE then accept
>>
>> Hopefully the upstream will honor the metrics you are setting on the outbound policy.
>> Afterwards you can verify if all traffic moves from the 1GE to the 10GE port and when
>> all is gone you can safely remove the 1GE neighbor statement(s).
>>
>> Good luck.
>>
>> Tim
>>
>>
>> On Jul 19, 2013, at 1:10 AM, Keith wrote:
>>
>>> We recently just turned up another connection to one of our upstreams, so now we have
>>> two. One is a GE the other is a 10GE.
>>>
>>> We are getting into new territory here.
>>>
>>> The GE connection is in use and working fine.
>>>
>>> These two connections home to two different routers on our upstream.
>>>
>>> As the BGP policy will remain the same, I was just going to add a new neighbour
>>> statement to that
>>> particular BGP group for that upstream.
>>>
>>> I was told to also add multipath to that as well if I want to use both connections for
>>> load balancing.
>>>
>>> Don't really want to use both as the GE will be going away sometime, but to make sure
>>> it works I was
>>> going to add the new neighbor IP address, make sure BGP comes up and traffic is there
>>> then remove the old neighbor
>>> IP address.
>>>
More information about the juniper-nsp
mailing list