cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
280
Views
0
Helpful
4
Replies

OSPF and route filtering

jristo
Level 1
Level 1

Is there a way to filter specific networks from being advertisied out an OSPF interface?

We have a router which is neighboured with various other routers on int fast 0/0 , 0/1 and 2/0

We have networks (all with 24 bit masks)

10.10.10.0

10.10.20.0

10.10.30.0

10.10.40.0

I only wany the following networks advertisied out the specified interfaces

network 10.10.10.0 out fast 0/0

networks 10.10.20.0 and 10.10.30 out fast 0/1

networks 10.10.10.0 and 10.10.40.0 out fast 2/0

I have been attempting route filters but it doesn't seem to be working.

Anyone have suggestions?

4 Replies 4

ruwhite
Level 7
Level 7

You can't do it with normal filters, like distribute lists and route maps. You can filter all the advertisements out of a given interface, using database filters, see:

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800b3f2e.html#1001572

You can filter based on a given prefix on an ABR, using the new'ish filter list commands in OSPF:

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1839/products_feature_guide09186a0080087be9.html

There's also the ospf route-map based filtering page, which describes how you can filter a prefix in the local OSPF database from being placed in the local routing table:

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1829/products_feature_guide09186a008012db77.html

Russ.W

I cannot get to any of these links; even with a CCO login. It keeps telling me I'm not logged in. Can someone tell me where they are?

Remove the "partner" section of the url, for example:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1829/products_feature_guide09186a008012db77.html

Hope this helps.

Yep, that works... Sorry, I don't often think about the url's I post not being reachable. Something I'll have to watch for in the future.

Russ.W