Read this article from cisco's web site. It explains how to write extended access-list for route redistribution
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00801310cb.shtml Thanks Suresh On Thu, Feb 14, 2008 at 4:17 PM, Kambiz Agahian <[EMAIL PROTECTED]> wrote: > > > > > > Hi Scott, > Could you please shed some light on this issue? > I'm just trying to figure out some details of the following example. It's > from Cisco web site at > http://www.cisco.com/univercd/cc/td/doc/cisintwk/ics/icsbgp4.htm : > > > ############################################ > > > Using access lists to filter supernets is a bit trickier. Assume, for > example, that Router B in has different subnets of 160.10.x.x, and you want > to advertise 160.0.0.0/8 only. The following access list would permit > 160.0.0.0/8, 160.0.0.0/9, and so on: > access-list 1 permit 160.0.0.0 0.255.255.255 > > > > > > > To restrict the update to 160.0.0.0/8 only, you have to use an extended > access list, such as the following: > access-list 101 permit ip 160.0.0.0 0.255.255.255 255.0.0.0 0.0.0.0 > > ################################################### > > Would you please explain what they exactly mean by this solution (bold > lines)? > It's not very clear to me especially when it comes to the last ACL (101). > > > Thanks for any hint. > > Cheers, > Kambiz > >
