I've been reading about distribute lists and route maps for redistribution. It looks like route maps on the whole have more options. They have more match criteria than just IP address and they can also set things whereas distribute lists can't.
At first glance they'd seem far superior but then I realised that they may have certain basic functionality missing that distribute lists can do...
With both distribute lists and route maps they can be applied to a routing protocol that is being distributed into another. But with distribute lists (and not route maps that I can see) they can be applied inbound to an interface for a routing protocol to permit or deny certain routes from coming into the router. And also outbound on an interface to stop certain routes leaving the router.
I can't see a way to block routes coming in based on the interface with route maps. Is this possible? The route map command under the routing process comes after the redistribute command so that means that all the routes have already come in and been put into the routing table and the route map is just applied when redistributing into another protocol.
Is it the case that distribute lists can permit or deny certain routes coming into a router and route maps can't?