Kingsfordweg 151, 1043GR Amsterdam, The Netherlands ● 24/7 support — support@novogara.com
Knowledge base

Max-prefix safety

A BGP session normally carries a predictable number of routes. A limit on how many a neighbour may send turns a route leak or a misconfiguration into a contained event rather than an outage.

What it protects against

If a neighbour suddenly announces far more routes than expected — a leak, a fat-finger, a compromise — it can overwhelm your router memory or pull in routes it should not. A max-prefix limit shuts the session down when the count crosses a threshold, before the damage spreads.

Set it with headroom

Pick a limit comfortably above the normal route count so ordinary growth does not trip it, but low enough that a genuine flood is caught. Review it as the neighbour grows, and set a warning threshold below the hard limit so you hear about it before the session drops.

Part of session hygiene

Max-prefix sits alongside prefix filtering and origin validation as basic BGP hygiene — see prefix filtering and RPKI. On sessions with us we apply these protections by default; on your own sessions, set them from the start — BGP with us covers the setup.


Still stuck? Mail support@novogara.com — an engineer answers, at any hour. Back to the knowledge base