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.
ospf Inbound Filtering
-
one6f
Re: ospf Inbound Filtering
try to use ip route-map action with deny.
please consult: Advanced Routing Configuration Guide
please consult: Advanced Routing Configuration Guide
-
rdz
Re: ospf Inbound Filtering
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 !!
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
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
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
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.
-
devnull
Re: ospf Inbound Filtering
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.)
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.)
