Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

OSPF Filtering


we have a problem to filter ospf routes in our network. It doesn?t work with ACLs.

Then we followed the description of the document ?IOS Release 12.2T OSPF ABR Type 3 LSA Filtering?. Problematic is that the affected switch is a cisco catalyst 3750. This switch is not listed under the supported devices of the above-mentioned documentation. Nevertheless he ?knows? the commands. It doesn?t work (should it???).

What other possibilities are there for filtering ospf routes (concerning this type of switch)?


Re: OSPF Filtering

Can you post your topology and let us know what exactly you want to achieve


Hall of Fame Super Silver

Re: OSPF Filtering


As you are discovering there are not many options for filtering OSPF. This is in part because the design of the protocol as a link state protocol is based on the assumption that the routers need a complete understanding of the network topology so that they can draw an accurate topology map and avoid loops.

There is limited ability to use access lists with distribute lists. Distribute list outbound for OSPF is not supported at all. Inbound distribute list for OSPF is supported but does not operate as it does for other routing protocols or as some people assume. If you configure an inbound distribute list you can prevent some routes from showing up in the routing table. But the LSAs (which is how the routes are advertised) are still in the Link State Data Base and will still be advertised to other OSPF neighbors. So using distribute list inbound is only locally effective and does not affect what is advertised to other neighbors.



Re: OSPF Filtering


Totally agree with Rick, but just to add a small detail, you can also do filtering Between OSPF Areas - LSA type 3 filtering on ABRs - The ABRs can filter network addresses being advertised by type 3 LSAs either into or out of an area.

Example (from Jeff Doyle's)

router ospf 1

area 25 filter-list prefix area25outbound out


ip prefix-list area25outbound seq 10 deny

ip prefix-list area25outbound seq 20 permit le 32

I've checked the feature navigator for you, and it seems that the 3750 doesn't support OSPF ABR type 3 LSA Filtering .


Mohammed Mahmoud.


Re: OSPF Filtering


Distribuiton-list, route-map are there...



Please rate me if I helped.

Re: OSPF Filtering

Hi Lydia.

I strongly agree with Rick.Just confirm some doubts in your mind.

Hope this help!