From: Carlos Trujillo Jimenez (nergal888@hotmail.com)
Date: Wed Sep 12 2007 - 18:57:23 ART
what about this option applied inbound in routerB as a route-map or a
filter-list but applied inbound.
ip as-path access-list 1permit ^[0-9]+(_[0-9]+)?$
Is this ok??
>From: "Rich Collins" <nilsi2002@gmail.com>
>Reply-To: "Rich Collins" <nilsi2002@gmail.com>
>To: "Cisco certification" <ccielab@groupstudy.com>
>Subject: Fwd: bgp reg-exp for directly connected costumers
>Date: Wed, 12 Sep 2007 16:34:45 -0400
>MIME-Version: 1.0
>Received: from lists.groupstudy.com ([207.44.210.9]) by
>bay0-mc7-f8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 12
>Sep 2007 13:39:25 -0700
>Received: (from sympa@localhost)by lists.groupstudy.com
>(8.12.11.20060308/8.11.6) id l8CKdL5J002153;Wed, 12 Sep 2007 16:39:21 -0400
>Received: from groupstudy.com (www.groupstudy.com [209.51.144.7])by
>lists.groupstudy.com (8.12.11.20060308/8.11.6) with ESMTP id
>l8CKYi9d002087for <ccielab@lists.groupstudy.com>; Wed, 12 Sep 2007 16:34:44
>-0400
>Received: from groupstudy.com (groupstudy.com [127.0.0.1])by groupstudy.com
>(8.12.11.20060308/8.12.11) with ESMTP id l8CKYo62025497GroupStudy Mailer;
>Wed, 12 Sep 2007 16:34:50 -0400
>Received: (from listserver@localhost)by groupstudy.com
>(8.12.11.20060308/8.12.11/Submit) id l8CKYokT025495for ccielabxhiddenx;
>Wed, 12 Sep 2007 16:34:50 -0400
>Received: from nz-out-0506.google.com (nz-out-0506.google.com
>[64.233.162.229]) by groupstudy.com (8.12.11.20060308/8.12.11) with ESMTP
>id l8CKYmKH025475 GroupStudy Mailer; Wed, 12 Sep 2007 16:34:48 -0400
>Received: by nz-out-0506.google.com with SMTP id i1so222138nzh for
><ccielab@groupstudy.com>; Wed, 12 Sep 2007 13:34:46 -0700 (PDT)
>Received: by 10.114.78.1 with SMTP id a1mr5862641wab.1189629285140; Wed,
>12 Sep 2007 13:34:45 -0700 (PDT)
>Received: by 10.140.131.9 with HTTP; Wed, 12 Sep 2007 13:34:45 -0700 (PDT)
>X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
>X-Message-Info:
>+wzvjddt7X37SwpUa0gksHTnN4/HAK9IPbn/2WLPUdgc9Tjn80tboZZ+cSaskBOdk63i7t0q8N/a8dfAXFw9hnptr8JJyUH3
>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta;
>
>h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
> bh=MRpNArcXy7Z14Z3Ied7LtAqGdJRtb+9ocdQ6HVmuK1s=;
>b=RWEJ8BtvB4mVLf7Pr7O0FLk6CDyYDpuWylYpeD58tQPLUFfCr+DAQWoS+X3mAhKabAW1TVDMArnBvvwsW1ec0iiIXHw8nLLcZOdMKYhDE3v0Upc9dQ8W2fTQtU+mb1CHGKC/jMTHU3/pv2wL8LohwpO4b5zQ6suwLL7gw5X4ewE=
>DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
>h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
>
>b=pSsEzG7cc9ViI/hgXpD1cGBzEzHHyTz7WuIpRrdQlkBtJytntejA7f/6gByKYVo7pHTVLezI10/k7vDCpkgN70EzJmxxLjQIjmDjKyOFv9QpHXRNnIzAi57l5XkkRpn+D90JAaYxJCsgJnUD9RgpHSxzZypVf7VzzRC4lSKBOfs=
>References: <BAY136-F30A4EFF956E2CEB4492A0FE4C20@phx.gbl>
><4b4dda980709121333n340b2da4tc34dc6db99ceb69f@mail.gmail.com>
>X-Converted-To-Plain-Text: from multipart/alternative by GroupStudy
>X-Converted-To-Plain-Text: Alternative section used was text/plain
>X-ASK-Info: Whitelist match [from nilsi2002@gmail\.com] (2007/09/12
>16:34:50)
>X-Loop: ccielab@groupstudy.com
>X-Sequence: 1191
>Errors-to: ccielab-owner@groupstudy.com
>Precedence: bulk
>X-no-archive: yes
>List-Id: <ccielab.groupstudy.com>
>List-Help: <mailto:sympa@groupstudy.com?subject=help>
>List-Subscribe: <mailto:sympa@groupstudy.com?subject=subscribe%20ccielab>
>List-Unsubscribe:
><mailto:sympa@groupstudy.com?subject=unsubscribe%20ccielab>
>List-Post: <mailto:ccielab@groupstudy.com>
>List-Owner: <mailto:ccielab-request@groupstudy.com>
>Return-Path: ccielab-owner@groupstudy.com
>X-OriginalArrivalTime: 12 Sep 2007 20:39:25.0748 (UTC)
>FILETIME=[020D1F40:01C7F57D]
>
>For action 1 what about ?:
>
>ip as-path access-list 1 permit ^[0-9]*$ (This covers routes generated
>from
>directly connected AS's and also locally generated prefixes.
>
>neighbor B.B.B.B filter-list 1 out
>
>Rich
>
>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
>
>_______________________________________________________________________
>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