Re: bgp nei filter

From: Tarun Pahuja (pahujat@gmail.com)
Date: Thu May 24 2007 - 18:38:39 ART


Dishan,
             You can use Route-maps,Prefix-lists,and Distribute-list for
filtering BGP routes. They all have their Pluses and Minuses, Route-maps
come in handy if you are trying to modify any of the BGP attributes,
Prefix-Lists on the other side do an excellent job monitoring subnet mask
while filtering, Distribute-list is useful when you want to specify the
source networks to filter. There are cases where any one of the techniques
can be used to accomplish a certain task and there are cases where you would
have to pick one over the other to achieve the results. In case, you decide
to use multiple techniques for testing, Please keep the following order of
Preference in Mind.

For inbound updates the order of preference is:

   1. route-map
   2. filter-list
   3. prefix-list, distribute-list

For outbound updates the order of preference is:

   1. prefix-list, distribute-list
   2. filter-list
   3. route-map

Thanks,
Tarun Pahuja
CCIE#7707(R&S,Security,SP,Voice,Storage)

On 5/21/07, Plank, Jason <Jason_Plank@condenast.com> wrote:
>
> The best and most specific way of prefix filtering imo is to use prefix
> lists. You can get creative with ACLs but generally prefix lists are the
> option I chose.
>
>
> Jason Plank, CCIE# 16560
> Senior Network Engineer
> Conde Nast Publications
> 1201 North Market St.
> Wilmington, DE 19808
> Email: Jason_Plank@CondeNast.com
> Office: 302-830-4910
> Cell: 302-290-0387
>
>
>
> -----Original Message-----
> From: Dishan Gamage [mailto:dishanlg@gmail.com]
> Sent: Monday, May 21, 2007 01:40 AM Eastern Standard Time
> To: Cisco certification
> Subject: bgp nei filter
>
> Hi Group
>
> what is the best option to filter routes from a ebgp neighbor ? lets
> assume
> that we rx 10 routes from a peer.
> but we want the only to get only 5 of them to our bgp table. whats the
> best
> way to do this ??
>
> tks
> dishan
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:22 ART