Filter OSPF inbound route

Post Reply
farsoft

Filter OSPF inbound route

Post by farsoft »

Hello,

I've got an OS6860 switch in a OSPF topology. A neighbour is advertising to it a route that I don't want to be load in the routing table but I can't find how to filter it.

In Cisco devices we can use a prefix and an inbound distribute-list to decide which received OSPF routes are allowed or denied.

Example:

distribute-list prefix prefix_name in

Do you know if there is an equivalent in Alcatel, please?

Thank you very much.

Regards.
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 2094
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Filter OSPF inbound route

Post by silvio »

Easiest way is that the ospf neighbour isn't senting this unwanted routes. For this you need to create (at the neighbour) a route-map with your excluded route (with lower sequ-number and action deny). In the same route-map with higher sequence-number you "permit" all routes (0.0.0.0/0). This route-map you use for redistribution (f.e. static into ospf).
But if you do not want to use always received routes I have only one idea. Static routes have a higher precedence than ospf routes. So you can create your own static routes - maybe as blackhole route "ip static-route x.x.x.x/x gateway NULL metric 1".
Also you work with different areas and can use one router as ABR (f.e. in a different VRF of one of your switches). There you can also use the first example (route-map) to forward only specific routes into the NSSA or stub area.
BR Silvio
Post Reply

Return to “OmniSwitch 6860 / 6860E”