04-23-2002 06:45 PM - edited 03-01-2019 09:26 PM
I have tried distribute-list,but it didn't seem to work for OSPF,but it does work when using EIGRP.
04-23-2002 09:37 PM
OSPF is a Link-State-Protocol: Routers do not advertise Distance Vectors like EIGRP does. OSPF routers advertise Link State Packets (LSPs), which are identified by a router id. Therefore you might implement routing filters based on the router id.
Be aware that route filtering is not a goal of OSPF, because router in one area should have identical databases.
There is one exception: You can filter incoming routes (ip-addresses). This is a filter running between the link state database and your routing table. OSPF will not put the route into the routing table, but it is still in the database.
Edgar
04-23-2002 10:53 PM
If is possible for your network ... I suggest you to use Stub & Totaly Stub Area, so you can start with an automatic filter for link-state type 3-4-5 yet.
Bye
Christian Biasibetti
Ivrea - Italy.
04-23-2002 11:06 PM
OSPF routes can't be filtered from entering the OSPF database. The distribute-list in command only filters routes from entering the routing table, but it doesn't prevent link-state packets from being propagated.
The command distribute-list out works only on the routes being redistributed by the autonomous system boundary routers (ASBRs) into OSPF. It can be applied to external type 2 and external type 1 routes, but not to intra-area and inter-area routes.
04-24-2002 12:04 AM
have you tried under
router ospf x
nei x.x.x.x database-filter all out
04-24-2002 02:01 AM
EIGRP is DV protocol only,u can do some thing on lsa type 3,4,5.
Of course distibute-list will just avoid certain route be write into routing table as u wish.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide