Re: bgp reg-exp for directly connected costumers

From: Ben (bmunyao@gmail.com)
Date: Wed Sep 12 2007 - 15:32:33 ART


Hi Carlos

The as-path ACL should be: ip as-path access-list 1 permit ^200(_[0-9]+)*$

IMO the two actions will achieve the same result.

Sincerely
Ben

On 9/12/07, Carlos Trujillo Jimenez <nergal888@hotmail.com> wrote:
>
> Hi all.
>
> Im quite confused, please if someone helps me clarify, in the following
> scenario think both solutions will work.
>
> Scenario:
>
>
> (AS500)ROUTERX---------------------(AS200)ROUTERA-------------------------------ROUTERB(AS300)
>
> ROUTERA is forming an EBGP peering relationship ith both ROUTERB and
> ROUTERX.
>
> Action1. (configuration only in ROUTERA)
> I want to RouterA send only its locally originated prefixes, as well as
> prefixes ORIGINATED from his directly connected cosumters to router B.
>
> ROUTERA:
>
> ip as-path access-list 1 permit ^200_[0-9]*$
>
> route-map ONLY-AS200-ANDCOSTUMERS
> match as-path 1
>
> router bgp 200
> neighbor ROUTERB route-map ONLY-AS200-COSTUMERS out
>
>
> Action2.(configuration only in ROUTERB)
> I want the same purpose as action 1 but only configuring it at ROUTERB,
> mean
> only recibe prefixes originates by its neighbor routerA as 200, and its
> directly connected costumers
>
> ROUTERB:
> ip as-path access-list 1 permit ^200_[0-9]*$
>
> route-map ONLY-AS200-ANDCOSTUMERS
> match as-path 1
>
> router bgp 300
> neighbor ROUTERA route-map ONLY-AS200-COSTUMERS in
>
> The as-path access-list is the same in both actions, but with the route
> map
> apliedd in the first outbound, and in the second inbound, summarizing in
> the
> sender applied outbound and in the receiber applied inbound.
>
> Please correct me if Im wrong with this one.
>
> _________________________________________________________________
> Charla con tus amigos en lmnea mediante MSN Messenger:
> http://messenger.latam.msn.com/
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:11 ART