OSPF Distribute-list

From: Clifton Stewart (cliftonlstewart@xxxxxxxx)
Date: Tue Apr 10 2001 - 03:14:08 GMT-3


   
Chia,

When you use distribute-list in you block routes before there are placed into
the IP routing table. You are correct with your thinking distribute-list out
with OSPF has no effect at all.

http://www.cisco.com/warp/public/104/9.html

-Cliff

"Chia Kim Seng, Consultant, SCSNW-Sales" wrote:

> Just to clarify,
> Isn't distribute-list got not effect on OSPF except when used on
> redistribution?
>
> Regards
> Chia Kim Seng
>
> SCS Networks Pte Ltd
> 7 Bedok South Road
> Singapore 469272
> Tel : 065-2403164
> Fax: 065-2403110
>
> -----Original Message-----
> From: xander [mailto:xander@adt.ru]
> Sent: Saturday, April 07, 2001 5:22 AM
> To: Jerry Hutcheson
> Cc: ccielab@groupstudy.com
> Subject: Re: OSPF Distribute-list
>
> Hello Jerry,
>
> Please send complete topology and ospf config for your lab.
>
> But I think guess without them.
> It seems R1 is DR and R2 is BDR or OTHER ospf router.
> So, LSA about your network(s) are collected by DR and then flooded to the
> other routers. So, if you filter this particular network from DR, all
> other routers in this network do not know about it(them) anyway.
>
> The solution is to use distribute-list 1 out of S0 interface on DR router.
>
> JH> I was under the impression that when doing a distribute list in on an
> OSPF router with a deny access list that the router would remove the network
> from its own route table but it would still be
> JH> available on the downstream neighbors routing table.
>
> JH> However when I did this it was removed from both IP routing tables. Does
> anyone have any suggestions?
>
> JH> R1
> JH> Router ospf 100
> JH> distribute-list 1 in s0/0
>
> JH> access-list 1 deny 151.100.2.2 !!! route is coming from upstream of R1
> and is going downstream to R2
> JH> access-list 1 permit any
>
> JH> R2
>
> JH> !no access lists
>
> JH> Route disappears from both routing tables.
>
> JH> Jerry
>
> --
> WBW, xander
> mailto:xander@adt.ru
> CCNA, CCNP+VoiceAccess, CCIE very soon :-)
>
> ...



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:43 GMT-3