01-12-2011 11:14 PM - edited 03-04-2019 11:04 AM
Hi,
I was going through this URL , according this filters cant be applied to OSPF updates. is it true ?
regards
Neo
01-12-2011 11:34 PM
Hi Neo,
Yes it is true. Read again below lines...
"On the other hand, routers running link state protocols determine their routes based on information in their link state database, rather than on the advertised route entries of its neighbors."
EIGRP, RIP distance vector protocols will send the actual routes in the routing update to its neighbors so route filtering makes sense on them.
But in OSPF, LSAs are being advertised to its neighbors and not the routes. Routes are being computed using these LSAs received from neighbors. So we cannot do route filtering whereas it is achieved by LSA filtering on ABRs and ASBRs.
Thanks,
Madhu
01-13-2011 12:12 AM
Hi Madhu,
Thanks for the explanation, just querious to know LSA filtering will be done using distribute-list only or there is some other way ?
regards
Neo
01-13-2011 01:24 AM
Hi Neo,
In general 3 types of filtering can be done with OSPF.
1. Type 3 LSA filtering on ABR
2. Type 5 LSA filtering on ASBR
3. Filtering a route to be added into its own IP routing able on a
single route.
Case 1 is done with "area number filter-list prefix name in | out"
command under "router ospf" configuration mode.
In Case 2, you can either prevent few external routes being
redistributed into OSPF area using route-maps as a parameter along with
"redistribute" command. There is no way to filer one lsa selectively and
there is a closed bug on this CSCdw49150 which is visible only inside
Cisco ddts tool.
Case 3 can be done using "distribute-list" command under "router ospf"
configuration mode.
You can refer to CCNP ROUTE official exam certification guide if you
want a solid foundation on routing concepts. Particularly Chapter 7
focuses on OSPF route filtering and summarization concepts in which
Wendell Odom has explained so clearly which has been an eye opener for
me in this topic.
Please rate all replies if you feel it was useful to you.
Thanks,
Madhu
01-12-2011 11:36 PM
Hi,
you can filter routing updates only on ABR and ASBR. This is because in link state routing protocols, the link-state database should be the same for all routers in one area. So you have only 1 area, you have no chance to filter routing updates.
But you can filter the routes that are added to the local routing table with distribute-list [number] in command.
Regards,
Tihomir
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