From: Joseph Saad (joseph.samir.saad@gmail.com)
Date: Tue Dec 25 2007 - 15:55:16 ART
distribute-list uses only Access-lists
TermServ(config-router)#nei 1.2.3.4 distribute-list ?
<1-199> IP access list number
<1300-2699> IP access list number (expanded range)
WORD IP Access-list name
*TermServ(config-router)#nei 1.2.3.4 filter-list ?
<1-500> AS path access list
TermServ(config-router)#nei 1.2.3.4 prefix-list ?
WORD Name of a prefix list
*
On Dec 25, 2007 10:44 PM, Athaide, Dwayne <DAthaide@eprod.com> wrote:
> In BGP I am trying to prevent the 10.0.0.0/8 from being advertised to
> the neighbor
>
>
>
> So in bgp I put the following statements below under the route process
> however I still see the route in the neighbor table. However if I
> change the prefix list to an access list the distribute -list works just
> fine. So is it true that I cannot call a prefix list in a
> distribute-list. Now I know that I can apply the prefix list directly
> to the neighbor and it works fine however still confused as to why I
> cannot call the prefix in the distribute.
>
>
>
>
>
>
>
> neighbor {ip-address | peer-group-name} distribute-list
> {access-list-number | expanded-list-number | access-list-name |
> prefix-list-name} {in | out}
>
> Thanks
>
>
>
>
>
>
>
> router bgp 65522
>
> neighbor 150.50.1.1 distribute-list FILTER out
>
>
>
> ip prefix-list FILTER seq 5 deny 10.0.0.0/8
>
> ip prefix-list FILTER seq 10 permit 0.0.0.0/0 le 32
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:32 ARST