From: Tim Fletcher (tim@fletchmail.net)
Date: Fri Nov 29 2002 - 16:01:39 GMT-3
Emmanuel,
"distribute-list <n> out <proto>" filters routes being redistributed "out" of the <proto> protocol. So in this case it is filtering routes redistributed from RIP into OSPF.
Personally, I always found this syntax confusing. I always thought it should use the "in" keywork rather than out, because you are filtering routes coming "in" to the protocol you are configuring. But that's just my opinion, and that's not the way it works.
-tim
At 05:16 PM 11/29/02 +0100, Emmanuel Guilain wrote:
>Hello
>
>I'm having problems reading this document:
>http://www.cisco.com/univercd/cc/td/doc/cisintwk/ics/cs001.htm#xtocid57174
>
>Especially with the access-lists 10 and 11 in the routerA configuration.
>
>For me,when filtering redistribution from OSPF to RIP you have to prevent
>routes learned from RIP into OSPF to return into the RIP domain. And the
>following lines seems to permit only these routes:
>router ospf 109
>distribute-list 11 out rip # this means "filters the routes distributed out
>to RIP" right? Or Am I this wrong?
>access-list 11 permit 130.10.8.0 0.0.7.255
>access-list 11 deny 0.0.0.0 255.255.255.255
>
>If you want only the RIP routes to be advertised in OSPF you have to filter
>everything but these routes.
>And the access-list 10 does the opposite.
>
>Please, can you tell me where I'm wrong?
>
>Thanks
>
>Emmanuel Guilain
This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:23:12 GMT-3