From: Jonathan V Hays (jhays@jtan.com)
Date: Fri Mar 07 2003 - 11:27:12 GMT-3
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf Of Tom Young
> Sent: Thursday, March 06, 2003 9:15 PM
> To: ccielab@groupstudy.com
> Subject: distribute-list
>
>
> Hi,group
>
> A question about distribute-list, I think if you
> distribute a protocol into other one, the action should be
> one-way, so, in the distribute-list command ,the in or out
> parameter is meanless, I don't know why the out or in
> parameter should be set like the sample following:
>
> router ospf 1
> log-adjacency-changes
> redistribute eigrp 1 metric 20 metric-type 1 subnets
> route-map filter1
> network 137.20.101.5 0.0.0.0 area 0
> distribute-list 3 out
>
> Thanks alot
>
Shouldn't the command be 'distribute-list 3 out eigrp' as in the example
below?
In your example above, it makes sense if you think of the distribute
list filtering updates _out_ of OSPF and going into EIGRP.
See the reference below.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/
ip_c/ipcprt2/1cdindep.htm#1001938
router eigrp 109
network 128.1.0.0
redistribute rip
default-metric 10000 100 255 1 1500
distribute-list 10 out rip
In this example, the router global configuration command starts an IP
Enhanced IGRP routing process. The network router configuration command
specifies that network 128.1.0.0 (the regional network) is to send and
receive IP Enhanced IGRP routing information. The redistribute router
configuration command specifies that RIP-derived routing information be
advertised in the routing updates. The default-metric router
configuration command assigns an IP Enhanced IGRP metric to all
RIP-derived routes.
The distribute-list router configuration command instructs the Cisco IOS
software to use access list 10 (not defined in this example) to limit
the entries in each outgoing update. The access list prevents
unauthorized advertising of university routes to the regional network.
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:34 GMT-3