Bgp – Should I ask for fewer routes or use a route-map to reduce table-size

bgpquaggaroute-filtervyos

I'm running a Vyatta based BGP-router with multiple transit providers which send full BGP tables. I'd like to reduce the load generated by route-calculation but want to keep some possibility of choosing AS-paths. Therefore, just asking for only default-routes is not an option.

Does it make a significant difference in performance whether to ask the transit providers to send less (partial) routes or to keep full-tables and filter with route-maps.

Best Answer

If the providers can filter their updates for you, then that's fewer prefixes to be sent over your links, and fewer for you to process.

A common technique is for providers to send you their AS and directly connected customer AS's, in addition to a default route. For AS's that are farther away, it may not matter which provider you use to get there.

Remember that you can control outbound traffic paths, but you're limited in what can you do for inbound traffic. So one link will probably be used more than the other. If you're really interested in balancing (outbound) traffic, you can adjust local preference for particular AS paths. But at some point, it will be more trouble than it's worth.