From: Nick Shah (nshah@xxxxxxxxxxxxxx)
Date: Wed Jun 12 2002 - 21:43:57 GMT-3
Hi George... following is an explanation by Faraz Shamim @cisco.
//snip//
This is a generic options for all the routing protocols not just OSPF.
Gateway is the ip address of the neighbor whom you receive a routing update
from. This term make more sense in RIP and IGRP. Incase of OSPF its the
router ID of the neighbor.
Lets say you want to block full or partial routing update from a neighbor on
a broadcast segment like ethernet. If you do passive interface in case of
OSPF then it will affect all the neighbors on that segment so one option
there is to use gateway with distribute-list.
Note, this option is only valid for inbound distribute-list. Outbound
distribute-list will not work and it does not make sense, thats why its not
supported.
//snip//
I will lab it up tonight and let u know, if u happen to lab it up first, let
me know ;)
rgds
Nick
----- Original Message -----
From: "George Spahl" <g.spahl@insightbb.com>
To: <ccielab@groupstudy.com>
Sent: Thursday, June 13, 2002 1:05 AM
Subject: distribute-list gateway command
> Thought I would put this back out here again on a weekday to see if
> anyone takes the bait...
>
>
>
> Greetings,
>
> Does anyone know how to use the "distribute-list gateway" command?
> Couldn't find much in the way of relevant info on CCO. This was on ver
> 12.1-15 and under the IGRP router config section.
>
> Thanks,
>
> George
>
>
>
>
>
> R8-2502A(config-router)#distribute-list ?
>
> <1-199> IP access list number
>
> <1300-2699> IP expanded access list number
>
> WORD Access-list name
>
> gateway Filtering incoming updates based on gateway
>
> prefix Filter prefixes in routing updates
>
>
>
> R8-2502A(config-router)#distribute-list gateway ?
>
> WORD Name of an IP prefix-list
>
>
>
> R8-2502A(config-router)#distribute-list gateway test ?
>
> in Filter incoming routing updates
>
> out Filter outgoing routing updates
>
>
>
> R8-2502A(config-router)#distribute-list gateway test in ?
>
> Null Null interface
>
> Serial Serial
>
> TokenRing IEEE 802.5
>
> <cr>
>
>
>
> R8-2502A(config-router)#distribute-list gateway test in s0 ?
>
> <cr>
>
>
>
> R8-2502A(config-router)#distribute-list gateway test in s ?
>
> <0-1> Serial interface number
>
>
>
> R8-2502A(config-router)#distribute-list gateway test in s 0 ?
>
> <cr>
This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:32 GMT-3