Is the internet really reliant on all this anal regex nonsense? If it is I'm
surprised it actually works.
----- Original Message -----
From: <Keegan.Holley_at_sungard.com>
To: "andrew" <andrew.coates_at_internode.on.net>
Cc: "'Chris Breece'" <cbreece1_at_gmail.com>; "'Cisco certification'"
<ccielab_at_groupstudy.com>; <nobody_at_groupstudy.com>; "'Ryan West'"
<rwest_at_zyedge.com>
Sent: Sunday, July 12, 2009 3:42 PM
Subject: RE: BGP REGEXP
> I'm not an expert on regex, I hate the damn things honestly, but couldn't
> you just do ^54_.*$ and match 54 and anything else or nothing else.
> Note, this sounds like a lab question but if it isn't you should probably
> permit some stuff before this line if 54 is a transit AS and you are using
> it as a backup internet connection. Like ^54_(701)*_.*$ If this is just
> a lab disregard.
>
>
> Keegan Holley ? Network Engineer I ? SunGard Availability Services ?
> 401 North Broad St. Philadelphia, PA 19108 ? (215) 446-1242 ?
> keegan.holley_at_sungard.com
> Keeping People and Information Connected. ?
> http://www.availability.sungard.com/
>
> P Think before you print
>
> CONFIDENTIALITY: This e-mail (including any attachments) may contain
> confidential, proprietary and privileged information, and unauthorized
> disclosure or use is prohibited. If you received this e-mail in error,
> please notify the sender and delete this e-mail from your system.
>
>
>
>
>
>
> RE: BGP REGEXP
>
> andrew
> to:
> 'Ryan West', 'Chris Breece', 'Cisco certification'
> 07/11/09 09:58 PM
>
>
> Sent by:
> nobody_at_groupstudy.com
> Please respond to "andrew"
>
>
>
>
>
>
> Yes exactly, aren't we talking about directly connected customers?
>
> cheers
>
> -----Original Message-----
> From: Ryan West [mailto:rwest_at_zyedge.com]
> Sent: Sunday, July 12, 2009 11:50 AM
> To: andrew; 'Chris Breece'; 'Cisco certification'
> Subject: RE: BGP REGEXP
>
> ^54_[0-9]*$ shows all directly customers of AS54 including just AS54
> announcements, but nothing beyond that.
>
> -ryan
>
> -----Original Message-----
> From: andrew [mailto:andrew.coates_at_internode.on.net]
> Sent: Saturday, July 11, 2009 6:40 PM
> To: Ryan West; 'Chris Breece'; 'Cisco certification'
> Subject: RE: BGP REGEXP
>
> A straight ^54_[0-9]*$ will work as well
>
>
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Ryan
> West
> Sent: Sunday, July 12, 2009 11:28 AM
> To: Chris Breece; Cisco certification
> Subject: RE: BGP REGEXP
>
> Chris,
>
> Either 's ip b q ^54_' or 's ip b q ^54(_[0-9]+)*$' should work for
> customers and all their future customers.
>
> -ryan
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Chris Breece
> Sent: Saturday, July 11, 2009 6:13 PM
> To: Cisco certification
> Subject: Re: BGP REGEXP
>
> Theres a way to do it if your customer or customers customer is prepending
> too... but I am drawing a blank. Someone smart want to chime in? :P
>
>
>
>
> On Sat, Jul 11, 2009 at 9:06 PM, Chris Breece <cbreece1_at_gmail.com> wrote:
>
>> Man, I hate regex like no-bodies business... but try this...
>>
>> ^54(_[1-9]+)?$
>> Test it out with "show ip bgp regex ^54(_[1-9]+)?$".
>>
>> When you type it in make sure to do control-v before you type in the ?
> or
>> IOS will do context senstive help on ya.
>>
>> Chris
>>
>>
>>
>>
>> On Sat, Jul 11, 2009 at 12:53 PM, G2 <farawayguy_at_gmail.com> wrote:
>>
>>> Is there a regular expression that will match the following in one
> line:
>>>
>>> -Routes originated in AS54
>>> -Customers of AS54
>>>
>>> I know you can do one for each, but how would you do this in one
>>> statement?
>>>
>>> Thanks,
>>> Gary
>>>
>>>
>>> Blogs and organic groups at http://www.ccie.net
>>>
>>> _______________________________________________________________________
>>> Subscription information may be found at:
>>> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Sun Jul 12 2009 - 17:49:19 ART
This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 13:10:22 ART