OSPF - Route Re-distribution

Unanswered Question
Mar 4th, 2009
User Badges:


I currently have several OSPF speaking Cisco devices setup (PIX 506, PIX 515, 1721, 2600).

I am redistributing static routes on one of the devices, which I only want 2 of the other devices to be aware of and not the rest. What would be the best way to acheive this? Would it be multiple OSPF areas or running a seperate instance of OSPF on these 2 devices?

Once this is setup, I'm assuming the devices that learn these routes, shouldn't then redistribute them on?

I can provide more information on the setup if required.

Any help would be greatly appreciated.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
bjssccouser Wed, 03/04/2009 - 08:45
User Badges:

Thanks for the reply. I'm not familiar with route filters, would you be able to expand on this and provide a sample config?

The simplest way is to filter via a matching acl; like:-

access-list 1 deny

access-list 1 permit

router ospf 1

distribute-list 1 in interface fastethernet 0/0

So the ospf process would deny routes matching not put them into the routing table, all other 10/8 routes would go into the routing table.


bjssccouser Wed, 03/04/2009 - 08:58
User Badges:

The only problem is I have about 30 static routes on this particular device. This would mean creating an acl to match the 30 entries and setting this up on all the devices that should ignore the routes. I will certainly do this if there is no other way to achieve this.


bjssccouser Wed, 03/04/2009 - 09:20
User Badges:

Yes, I'm redistributing static routes into OSPF and I only want certain devices to accept them into their routing table.

JamesLuther Thu, 03/05/2009 - 02:15
User Badges:
  • Silver, 250 points or more


You can tag the static routes and then just filter based upon the tag.

That way you only setup the filtering once

This might reduce your configuration a little and future changes are all done in one place (add route and tag).



This Discussion