<div dir="auto">We are using option number 2.<div dir="auto"><br></div><div dir="auto">After 600 seconds, all routes via the shutted down peer will get invalid.</div><div dir="auto"><br></div><div dir="auto">So just wait 10 Minutes and your inbound traffic should stop.</div><div dir="auto"><br></div><div dir="auto">.........</div><div dir="auto"><br></div><div dir="auto">But there was a another thread with a feature request to send withdraws to your peer, so you can immediatley shutdown your network interface after shutting down the bgp session.</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">Am Sa., 8. Dez. 2018, 04:03 hat Francis Brosnan Blázquez <<a href="mailto:francis.brosnan@aspl.es">francis.brosnan@aspl.es</a>> geschrieben:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
Hello.<br>
<br>
We are using bird with several upstream providers, all of them with a<br>
share of traffic.<br>
<br>
We are in the process of shutting down one of them but we are unsure<br>
how to proceed to minimize loss of traffic.<br>
<br>
We have been reading and looking for general recommendations but it is<br>
not clear (besides using graceful shutdown which is not supported by<br>
the upstream we want to shutdown).<br>
<br>
We have been looking at mailing list but we haven't found anything<br>
treating this matter.<br>
<br>
So far, solutions we have come up are:<br>
<br>
1) Use AS-path prepend to increase metric on the uptstream to be<br>
shutted down and once nearly no traffic comes in through that link, shutdown<br>
BGP and unplug. Something like:<br>
<br>
export filter { <br>
<br>
if source = RTS_STATIC then { # Export only static routes <br>
# Assign our community <br>
bgp_community.add((65000,64501)); <br>
# Artificially increase path length <br>
# by advertising local AS number twice <br>
if bgp_path ~ [= 65000 =] then <br>
bgp_path.prepend(65000);<br>
bgp_path.prepend(65000);<br>
accept; <br>
} <br>
reject; <br>
}; <br>
<br>
2) Another solution is to just shutdown BGP session but leave upstream<br>
connected and configured (so outdated routers we still reach us...).<br>
<br>
3) And the obvious, just shutdown BGP session and unplug the cable.<br>
<br>
It would be great to know your opinion and what's the recommended way<br>
to proceed. <br>
<br>
What do you think?<br>
<br>
Many thanks<br>
Best Regards.<br>
<br>
<br>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
-- <br>
Francis Brosnan Blázquez <<a href="mailto:francis.brosnan@aspl.es" target="_blank" rel="noreferrer">francis.brosnan@aspl.es</a>><br>
ASPL -- Advanced Software Production Line, S.L.
</td>
</tr>
</table>
</div>
</blockquote></div>