(no subject)

From: Divin Mathew John <divinjohn_at_gmail.com>
Date: Thu, 2 Apr 2009 18:45:14 +0530

To control the advertising and processing of routes in routing updates, use
the *distribute-list* command. There are two *distribute-list*
commands: *distribute-list
in* and *distribute-list out*. They are similar in syntax, but the options
available to each and their behavior are very different.

The *distribute-list in* command is used to control which routes are
processed in incoming routing updates. See the Using distribute-list
in<http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080208748.shtml#disin>section
for an example of this command.

The *distribute-list out* command is used to control which routes are
included in outgoing routing updates. See the Using distribute-list
out<http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080208748.shtml#disout>section
for an example.
 Using distribute-list in
>
> The syntax for the *distribute-list in* command is:
>
> *distribute-list access-list-number in [interface-name] *
>
> where * access-list-number * is the standard IP access-list against which
> the contents of the incoming routing update are matched. The *
> [interface-name] * argument is optional and specifies the interface on
> which the update is expected. It is important to note that the access-list
> referred to in * access-list-number * is applied to the contents of the
> update, not to the source or destination of the routing update packets. The
> router decides whether or not to include the contents in its routing table
> based on the access-lists. For example:
>
> access-list 1 permit 1.0.0.0 0.255.255.255
>
>
> router rip
>
>
> distribute-list 1 in
>
>
>
> *!--- The distribute-list command is given *
>
>
> *!--- under the router configuration mode.*
>
>
> **
>
>
> Any inbound RIP update is checked against *access-list 1* and only routes
> that match a *1.xxx.xxx.xxx* format are put in the routing table.
>
> For a given routing process, it is possible to define one inbound
> interface-specific distribute-list per interface, and one globally-defined
> distribute-list. For example, the following combination is possible:
>
> access-list 1 permit 1.0.0.0 0.255.255.255
>
>
> access-list 2 permit 1.2.3.0 0.0.0.255
>
>
>
> router rip
>
>
> distribute-list 2 in ethernet 0
>
>
> distribute-list 1 in
>
>
> In this scenario, the router checks the interface on which the update
> comes in. If it is Ethernet 0, *access-list 2* is applied before putting
> it in the routing table. If, based on this check, the network is denied, no
> further checking is done for this network. However, if distribute-list 2
> allows the network, then *distribute-list 1* is also checked. If both
> distribute-lists allow the network, it is put in the table. The following
> algorithm is followed when multiple distribute-lists are used.
>

from the above explaination distribute list is used to control wht gets
advertised thru a interface... here your accesslisst kinda lets all the
networks thru... i think distribute list doesnt summarize a route.. rather
blocks an interface from advertising a route. i am labbing it up now.!

Thanking You

Yours Sincerely

Divin Mathew John
divinjohn_at_gmail.com
divin_at_dide3d.com
+91 9945430983
+91 9846697191
+974 5008916
PGP PUBLIC KEY BLOCK @ http://www.dide3d.com/divin_Public_PGP_key.txt
Sent from Bangalore, KA, India

On Thu, Apr 2, 2009 at 6:37 PM, Cisco Fanatic <ebay_products_at_hotmail.com>wrote:

> No routes to BB2 after removing "no auto-summary" command under the RIP
> process.
>
> !
> router rip
> version 2
> passive-interface default
> no passive-interface Serial0/1
> no passive-interface Ethernet1/0
> network 163.1.0.0
> network 192.10.1.0
> distribute-list prefix RIP_SUMMARY out Ethernet1/0
> !
> ip prefix-list RIP_SUMMARY seq 5 permit 163.1.0.0/18
> !
>
> > Subject: RE:
> > Date: Thu, 2 Apr 2009 07:45:31 -0500
> > From: Andy.Cole_at_foremostfarms.com
> > To: ebay_products_at_hotmail.com; ccielab_at_groupstudy.com
> >
> > Do not use the "no auto-summary" command under the Rip process,
> >
> >
> >
> > -----Original Message-----
> > From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> > Cisco Fanatic
> > Sent: Thursday, April 02, 2009 7:42 AM
> > To: ccielab_at_groupstudy.com
> > Subject:
> >
> > I have RIPv2 running between R4 and BB2 and other parts of the network.
> > - BB2 are getting the routes. Fine.
> > - Now I only need a summarized route to BB2. Don't use summary-address
> > command.
> > - Ok, I used distribute-list.
> > - The command looks ok to me, but after applying the command I don't see
> > any routes.
> >
> > BB2#si rip
> > 163.1.0.0/16 is variably subnetted, 6 subnets, 2 masks
> > R 163.1.35.0/24 [120/2] via 192.10.1.4, 00:00:12, Ethernet0/0
> > R 163.1.45.0/24 [120/1] via 192.10.1.4, 00:00:12, Ethernet0/0
> > R 163.1.54.0/24 [120/1] via 192.10.1.4, 00:00:12, Ethernet0/0
> > R 163.1.57.0/24 [120/2] via 192.10.1.4, 00:00:12, Ethernet0/0
> > R 163.1.0.0/26 [120/3] via 192.10.1.4, 00:00:12, Ethernet0/0
> > R 163.1.7.0/24 [120/3] via 192.10.1.4, 00:00:12, Ethernet0/0
> > 150.1.0.0/24 is subnetted, 1 subnets
> > R 150.1.7.0 [120/3] via 192.10.1.4, 00:00:12, Ethernet0/0
> > R* 0.0.0.0/0 [120/2] via 192.10.1.4, 00:00:12, Ethernet0/0
> >
> >
> > R4
> > ++
> > !
> > router rip
> > version 2
> > passive-interface default
> > no passive-interface Serial0/1
> > no passive-interface Ethernet1/0
> > network 163.1.0.0
> > network 192.10.1.0
> > distribute-list prefix RIP_SUMMARY out Ethernet1/0 no auto-summary !
> > ip prefix-list RIP_SUMMARY seq 5 permit 163.1.0.0/18 !
> >
> > BB2#si rip
> >
> >
> > -Yuri
> >
> >
> > _________________________________________________________________
> > Rediscover Hotmail.: Get e-mail storage that grows with you.
> > http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover
> > _Stor
> > age1_042009
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> >
> >
> >
> >
>
> _________________________________________________________________
> Rediscover Hotmail.: Now available on your iPhone or BlackBerry
>
> http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobi
> le1_042009
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Thu Apr 02 2009 - 18:45:14 ART

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:11 ART