---

How to filter BGP routes in Quagga BGP router

BGP routing decisions are made based on the prefixes received/advertised.

To ensure error-free routing, it is recommended that you use some sort of filtering mechanism to control these incoming and outgoing prefixes. For example, if one of your BGP neighbors starts advertising prefixes which do not belong to them, and you accept such bogus prefixes by mistake, your traffic can be sent to that wrong neighbor, and end up going nowhere (so-called “getting blackholed”).

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis