Filter routes in OSPF

Unanswered Question
Jul 22nd, 2009

hi all

i have a ideal, my company has 4 main sites run ospf, and many sites (Dealer)also run ospf. there are in one OSPF domain, area 0. I want filter some routes from main site to Dealers (this mean the Dealer only know one network in the main site. I have used "Distribute-list" but is not support with ospf.

Do any one know, can help me ??



many thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Wed, 07/22/2009 - 01:36

Hello Duc,

you need to move to a multi area OSPF design to be able to implement route filtering.


Given the link state nature of OSPF distribute-list doesn't change the OSPF database contents but only the capability of the local node to install the route in the routing table.


At area border an ABR can filter routes using

router ospf 10

area x filter-list out


only prefixes permitted by prefix-list are sent into area 0 if x is a non-zero area


Hope to help

Giuseppe


sameer.mulgund Wed, 07/22/2009 - 04:46

Hello Duc


You can try configuring the Dealer network as Stubby or total Stubby routers.


this will automatically enable single network to be learned.


Actions

This Discussion