ospf Inbound Filtering

Post Reply
rdz

ospf Inbound Filtering

Post by rdz »

Hi,

Is there any way to filter which routes get added to the switch routing table through OSPF ?

I know how to use "ip redist" to redistribute local/static routes through OSPF, but I want to prevent some routes distributed to my switch to get into my switch's routing table.

Thanks for the help !!
Ramiro.
one6f

Re: ospf Inbound Filtering

Post by one6f »

try to use ip route-map action with deny.
please consult: Advanced Routing Configuration Guide
rdz

Re: ospf Inbound Filtering

Post by rdz »

thanks for the reply.

I consulted that guide before opening this topic, but i didn't found the answer.

Where should I apply that route-map ? Can you give me an example ?

Thanks !!
one6f

Re: ospf Inbound Filtering

Post by one6f »

AOS 6.4.4.R01 OS6850/6850E Advanced Routing Configuration Guide page 1-24 :

Image

Here is one example.
You may need to use the Search button at the top of the Knowledge Base site to search other tips
You do not have the required permissions to view the files attached to this post.
rdz

Re: ospf Inbound Filtering

Post by rdz »

ok, but that is not my problem. I don't want OSPF routes to get into the routing table of the switch. In that case you are using route-map to filter between protocols (for example static to ospf) that's not what I want.
rdz

Re: ospf Inbound Filtering

Post by rdz »

What I need is something similar to this:

http://www.cisco.com/en/US/docs/ios/12_ ... utmap.html
devnull

Re: ospf Inbound Filtering

Post by devnull »

have you found a solution?
I think i need something similar have an ABR that connects area 0.0.0.0 and 1.1.1.1 and i do not want certain routes from 0.0.0.0 seen in 1.1.1.1 (e.g. Remote subnets that are injected by a firewall in area 0.0.0.0)

I have already denied static routes from being injected in OSPF, but i have not found a way to filter between ospf areas? (at least i did not find it in the docs.)
Post Reply

Return to “OmniSwitch 6850 / 6850E”