From: John Matus (jmatus@pacbell.net)
Date: Tue Oct 19 2004 - 00:18:52 GMT-3
i had tried ^5(_[0-9]+)?$ but that did not work <stollen from
internetworkexperts labs>
Regards,
John D. Matus
MCSE, CCNP
Office: 818-782-2061
Cell: 818-430-8372
jmatus@pacbell.net
----- Original Message -----
From: "Peter Ding" <pding@cisco.com>
To: "'James'" <james@towardex.com>; "'John Matus'" <jmatus@pacbell.net>
Cc: "'lab'" <ccielab@groupstudy.com>
Sent: Monday, October 11, 2004 8:09 PM
Subject: RE: regex question for bgp
> How about this one?
>
> ^5(_[0-9]+)?$
>
> PD
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> James
> Sent: Monday, October 11, 2004 7:49 PM
> To: John Matus
> Cc: lab
> Subject: Re: regex question for bgp
>
>
> On Mon, Oct 11, 2004 at 07:34:15PM -0700, John Matus wrote:
>> how would you solve the following requirement?
>>
>> R1 is in AS 1 and are connected to a bb router in AS 5. you want to
>> implement a filtering policy on R1 to only accept routes that come
>> from either AS 5 or an AS connected directly to AS 5. so AS 5 can be
>> in the as path as well as one more AS. how would you create a regex
>> to satisfy this requirement? i'm pretty stumped <not a regex pro>
>
> ^5_[0-9]*$
>
> HTH,
> -J
>
>
> --
> James Jun TowardEX
> Technologies,
> Inc.
> Technical Lead Network Design, Consulting, IT
> Outsourcing
> james@towardex.com Boston-based Colocation & Bandwidth
> Services
> cell: 1(978)-394-2867 web: http://www.towardex.com , noc:
> www.twdx.net
>
> _______________________________________________________________________
> 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 Nov 06 2004 - 17:11:46 GMT-3