Configuring distribute-list commands that utilize route maps is not achieving desired Link State Advertisement (LSA) filtering. Open Shortest Path First Protocol (OSPF) routes cannot be filtered from entering the OSPF database. The distribute-list in command only filters routes from entering the routing table, and it does not prevent LSA packets from being propagated.
In the route map, the user can match on any attribute of the OSPF route. The route map could be based on these match options: