<div dir="ltr">While there are good solutions in this thread, some of them have scaling issues with operator overhead. <div><br></div><div>We recently implemented a strategy that I proposed a couple years ago that uses a bucket system. </div><div><br></div><div>We created 5 or 6 different buckets of limit values (for v4 and v6 of course.) Depending on what you have published in PeeringDB (or told us directly what to expect), you're placed in a bucket that gives you a decent amount of headroom to that bucket's max. If your ASN reaches 90% of your limit, our ops folks just move you up to the next bucket. If you start to get up there in the last bucket, then we'll take a manual look and decide what is appropriate. This covers well over 95% of our non-transit sessions, and has dramatically reduced the volume of tickets and changes our ops team has had to sort through.  </div><div><br></div><div>Of course, we can also afford to be a little looser in limits based on the capability of the equipment that these sessions land on, other environments may require tighter restrictions. </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 18, 2021 at 5:34 AM Lars Prehn <<a href="mailto:lprehn@mpi-inf.mpg.de">lprehn@mpi-inf.mpg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As I understand by now, it is highly recommended to set a max-prefix <br>
limit for peering sessions. Yet, I can hardly find any recommendations <br>
on how to arrive at a sensible limit.<br>
<br>
I guess for long standing peers one could just eyeball it, e.g., current <br>
prefix count + some safety margin. How does that work for new peers? Do <br>
you negotiate/exchange sensible values whenever you establish a new <br>
session? Do you rely on PeeringDB (if available)? Do you apply default <br>
values to everyone except the big fishes?<br>
<br>
Apart from your peers, do you also apply a limit to your transit sessions?<br>
<br>
Best regards,<br>
<br>
Lars<br>
<br>
<br>
</blockquote></div>