From: Brian Dennis (brian@labforge.com)
Date: Wed Mar 05 2003 - 18:07:03 GMT-3
<From_CCO>
http://www.cisco.com/warp/public/104/9.html#Q9
Q: Can I use the distribute-list in/out command with OSPF to filter
routes? 
A: OSPF routes can't be filtered from entering the OSPF database. The
distribute-list in command only filters routes from entering the routing
table, but it doesn't prevent link-state packets from being propagated. 
The command distribute-list out works only on the routes being
redistributed by the autonomous system boundary routers (ASBRs) into
OSPF. It can be applied to external type 2 and external type 1 routes,
but not to intra-area and inter-area routes.
</From_CCO>
If you are able to filter intra or inter area routes using a standard
distribute-list send us your configuration and a show version.
Brian Dennis, CCIE #2210 (R&S/ISP Dial/Security)
brian@labforge.com
http://www.labforge.com
-----Original Message-----
From: Efrem.Coley@triaton-na.com [mailto:Efrem.Coley@triaton-na.com] 
Sent: Wednesday, March 05, 2003 12:58 PM
To: brian@labforge.com; dannyandaluz@comcast.net; ccielab@groupstudy.com
Subject: RE: Crazy Access-List question
I tried this scenario.  When I tried only allowing even with the
dist-list out under ospf everything looked the way it should.  Only even
routes appeared in the rest of the network beyond the filtering router. 
When I try to filter even networks, (the exact opposite of what the
requirement is), why would it not work with the dist-list out under
ospf?
Efrem 
-----Original Message----- 
From: Brian Dennis [mailto:brian@labforge.com] 
Sent: Wednesday, March 05, 2003 3:22 PM 
To: 'Danny Andaluz andaluz'; ccielab@groupstudy.com 
Subject: RE: Crazy Access-List question 
Danny, 
Your problem is that the "distribute-list <acl> out" command doesn't 
effect OSPF intra or inter area routes. 
Brian Dennis, CCIE #2210 (R&S/ISP Dial/Security) 
brian@labforge.com 
http://www.labforge.com 
-----Original Message----- 
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of 
Danny Andaluz andaluz 
Sent: Wednesday, March 05, 2003 11:31 AM 
To: ccielab@groupstudy.com 
Subject: Crazy Access-List question 
I'm trying to figure something out here.  
I know how to allow even networks and deny odd networks: 
router ospf 3 
network x.x.x.x 
dist-list 1 out 
access-list 1 deny 10.10.1.0 0.0.254.255 
access-list 1 permit any 
this would only allow 10.10.2.0, 4.0, 6.0 ,etc... to be advertised. 
How would you allow only odd networks and deny even networks?  I have 
tried many different ways and nothing works. 
TIA 
Danny 
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:33 GMT-3