<div dir="ltr">Hi Marcin,<div><br></div><div>Please see inline<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 13, 2013 at 2:48 PM, Marcin Kuczera <span dir="ltr"><<a href="mailto:marcin@leon.pl" target="_blank">marcin@leon.pl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div class="im">
<div>On 2013-06-13 18:28, Yuri Shefer wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Marcin,
<div><br>
</div>
<div>The BFD is running on the line card. If you enable
BFD for your eBGP neighbor, the BGP will become a client for
BFD, i.e. BGPd process will be notified if the BFD session
fails.</div>
<div><br>
</div>
<div>The config part is very simple:</div>
<div><br>
</div>
<div>context bfd-bgp</div>
<div>
<div> router bfd</div>
<div> interface to-as123</div>
<div> minimum transmit-interval 100</div>
<div> minimum receive-interval 100</div>
<div> detection-multiplier 3</div>
</div>
<div><br>
</div>
<div>router bgp 123</div>
<div> neighbor 1.1.1.2 external</div>
<div> bfd</div>
</div>
</blockquote>
<br>
<br></div>
Ok, config is quite clear. Dependencies between processes also.<br>
However:<br>
<br>
- if BFD runs on linecard, what happens if linecard crashes ? Is it
able to inform bgpd then ?<br></div></blockquote><div><br></div><div style>This is different kind of events. The line card failure event have different handling procedure, but result is the same - all processes will receive appropriate notification. However, in case of iBGP or multihop eBGP session you may want to have "fast-reset" option configured.</div>
<div style><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
I suppose that there is some BFD parent process on XCRP that
controls BFD on linecards, but - is it ?<br></div></blockquote><div><br></div><div style>RIB is responsible for BFD provisioning from control plane side.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
- I assume that BFD informing BGPd causes all bgp session timers
clear down instantly. Right ?<br><div class="im"><br></div></div></blockquote><div><br></div><div style>Yes, that is the reason why you would want to use BFD for eBGP sessions.</div></div><div><br></div>-- <br>Best regards,<br>
Yuri
</div></div></div>