I would like to know if it's possible to prevent some BGP prefixes from entering the RIB.
I'm receiving full internet routes from 2 ISPs, and I'm getting duplicate paths in BGP table, but only the best goes to the RIB. However, my routers have a limitation on the number of routes allowed in the RIB, and I would like to prevent some BGP routes from entering the RIB (more specifically, the ones that are tied, so that the router just uses the default route).
I know all kind of filtering can be done to prevent routes from entering the BGP table, but is it possible to use route-maps to do what I want? Where would I apply them? Thanks!