From: Jason Sinclair (sinclairj@xxxxxxxxxxxxxxx)
Date: Sun Mar 03 2002 - 22:44:19 GMT-3
All,
Easiest way to remember is to add an "of" when using distribute list out. Eg
distribute-list 1 out ospf 100
= "distribute-list 1 out OF OSPF 100"
HTH
Jason Sinclair
Manager, Network Support Group
POWERTEL
Ground Level, 55 Clarence Street,
SYDNEY NSW 2000
AUSTRALIA
office: + 61 2 8264 3820
mobile: + 61 416 105 858
* sinclairj@powertel.com.au
-----Original Message-----
From: Curtis Phillips [mailto:cphillips@blazenet.net]
Sent: Monday, 4 March 2002 10:01
To: John Neiberger; Paul Borghese;
ccielab@groupstudy.com
Subject: Re: distribution lists in RIP
You are right John and it is a whacky, non-intuitive syntax.
----- Original Message -----
From: "John Neiberger" <neiby@ureach.com>
To: "Paul Borghese" <pborghese@groupstudy.com>;
<ccielab@groupstudy.com>
Sent: Sunday, March 03, 2002 5:34 PM
Subject: Re: distribution lists in RIP
> This is one of those things that confuses me all the time.
>
> > router rip
> > distribute-list 1 out ospf 1
>
> Intuitively, at least to me, this says to filter RIP
routes
> that match access-list 1 when redistributing to OSPF 1.
> However, I don't think that's what it really does.
>
> I think it means "When redistributing routes from OSPF 1
into
> RIP, filter out routes that match access list 1 before
sending
> them to other RIP neighbors." If I'm wrong I hope someone
will
> correct me.
>
> Regards,
> John
>
>
> ---- On Sun, 3 Mar 2002, Paul Borghese
> (pborghese@groupstudy.com) wrote:
>
> > I have a configuration where I would like to
redistribute
> from RIP to
> > OSPF.
> > I would prefer to apply a filter to limit my
distributions.
> I am
> > running
> > RIP on an ethernet interface and OSPF on a serial
interface.
> When I
> > apply
> > the command:
> >
> > router rip
> > distribute-list 1 out ospf 1
> >
> > It filters the RIP updates out the ethernet interface.
So
> the router
> > seems
> > to ignore the fact that I told it to only filter when
> redistrbuting into
> > OSPF and instead filters regular rip updates. Here is
some
> debugging
> > output:
> >
> > Before applying distribute-list 1 out ospf:
> >
--------------------------------------------------------------
> ------
> > 02:24:10: RIP: sending v1 update to 255.255.255.255 via
> Ethernet0
> > (190.27.2.3)
> > 02:24:10: RIP: build update entries
> > 02:24:10: network 87.0.0.0 metric 7
> > 02:24:10: network 180.70.0.0 metric 7
> > 02:24:10: subnet 190.27.1.0 metric 7
> > 02:24:10: subnet 190.27.10.0 metric 7
> > 02:24:10: subnet 190.27.11.0 metric 7
> >
--------------------------------------------------------------
> -----------
> >
> > Notice there are a number of routes being advertised out
E0.
> >
> > Now I will apply the command:
> >
--------------------------------------------------------------
> --------------
> > --
> > R7(config-router)#router rip
> > R7(config-router)#distribute-list 1 out ospf 1
> > R7(config-router)#
> > 02:24:15: RIP: Distribute-list changed: sending
triggered
> update
> > R7(config-router)#
> > 02:24:35: RIP: sending v1 update to 255.255.255.255 via
> Ethernet0
> > (190.27.2.3)
> > 02:24:35: RIP: build update entries - suppressing null
update
> >
--------------------------------------------------------------
> --------------
> > --------
> >
> > Notice the update did not have any entries. So the
command
> > distribute-list
> > 1 out ospf 1 blocks routes from leaving the ethernet
> interface.
> >
> > Why?
> >
> > Paul Borghese
> >
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:52 GMT-3