Re: OSPF and distribute lists

From: Christopher Van Heuveln (cvanheuv@xxxxxxxxx)
Date: Tue Jul 25 2000 - 09:28:26 GMT-3


   

Dist-list out with OSPF is really only useful for limiting
redistribution (but route-maps are more straight-forward).
For example, the following will install static route 3.0.0.0
in the database but keep 2.0.0.0 out:

router ospf 1
  redistribute static subnets
  distribute-list 9 out static
 !
 ip route 2.0.0.0 255.0.0.0 1.1.1.2
 ip route 3.0.0.0 255.0.0.0 1.1.1.2
 !
 access-list 9 permit 3.0.0.0

Chris

On Mon, Jul 24, 2000 at 04:37:44PM -0400, John Conzone wrote:
> I want to make sure what I am seeing is right. It doesn't appear that I c
an use distribute list out to deny ospf routes to other ospf routers. Since rou
tes aren't excahned, only LSA's, the LSA's are distributed regardless and SPF r
un. I can use distribute list in to prevent individual routers from placing rou
tes in their table.
> Is there a way to block a OSPF route outbound to another OSPF router? It
seems one would have to filter the content of an LSA. Is that possible?



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:23:58 GMT-3