ospf route filtering

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 10:36 AM - edited 03-08-2019 09:45 AM
in eigrp i can filter routers using
1.ip prefix list
2.access list
3.router map
can i use these 3 ways to filter routers in ospf or is there any separate methods for ospf
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 10:51 AM
Hi
For OSPF you can also use distance with value 255 to drop traffic, example:
router ospf 1
distance 255 <source> <source mask> <ACL>
So the prefixes matched on the ACL and learned by the source will be applied with an AD of 255, then OSPF will discard this prefixes and they will not be included on the routing table.
Other method is using filter-list, it is used to filter type 3 LSA
AREA <area id> filter-list prefix <prefix-list>
http://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/fiarospf.html
One last fitering method in OSPF is:
OSPF database-fiter, it is used to filter LSAs.
http://www.cisco.com/c/en/us/td/docs/ios/12_2/iproute/command/reference/fiprrp_r/1rfospf.html#wp1018116
Hope it is useful
:-)
>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 10:55 AM
OSPF can route filter, but is limited/different compared distant vector routing protocols. It would require a lengthy explanation.
