Page 1 of 1
ospf Inbound Filtering
Posted: 11 Mar 2013 16:43
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.
Re: ospf Inbound Filtering
Posted: 13 Mar 2013 16:50
by one6f
try to use ip route-map action with deny.
please consult:
Advanced Routing Configuration Guide
Re: ospf Inbound Filtering
Posted: 14 Mar 2013 10:03
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 !!
Re: ospf Inbound Filtering
Posted: 14 Mar 2013 13:18
by one6f
AOS 6.4.4.R01 OS6850/6850E Advanced Routing Configuration Guide page 1-24 :
Here is one example.
You may need to use the Search button at the top of the Knowledge Base site to search other tips
Re: ospf Inbound Filtering
Posted: 14 Mar 2013 15:50
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.
Re: ospf Inbound Filtering
Posted: 15 Mar 2013 17:01
by rdz
Re: ospf Inbound Filtering
Posted: 25 Jul 2013 09:51
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.)