Re: BGP REGEXP

From: Chris Breece <cbreece1_at_gmail.com>
Date: Sat, 11 Jul 2009 21:52:49 -0400

I just plugged that into a route-server and I don't see any results coming
up for stuff originating in the first AS only. and I also don't see anything
that is doing prepending.

Chris

On Sat, Jul 11, 2009 at 9:49 PM, Ryan West <rwest_at_zyedge.com> wrote:

> ^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
Received on Sat Jul 11 2009 - 21:52:49 ART

This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 13:10:22 ART