Re: BGP Regex

From: Sunil Modi <sunil.s.modi_at_gmail.com>
Date: Wed, 24 Jul 2013 21:17:12 -0700

I knew the answer was simple, I was missing the "+". Thanks!!

On Wed, Jul 24, 2013 at 9:01 PM, Brian McGahan <bmcgahan_at_ine.com> wrote:

> Try ^[0-9]+_38040_
>
> Brian McGahan, CCIE #8593 (R&S/SP/SC/DC), CCDE 2013::13
> bmcgahan_at_INE.com
>
> Internetwork Expert, Inc.
> http://www.INE.com <http://www.ine.com/>
>
> On Jul 24, 2013, at 9:19 PM, "Sunil Modi" <sunil.s.modi_at_gmail.com> wrote:
>
> I know there is a simple answer to this but I just can't seem to figure it
> out. Basically, if the AS number is the second in the path, match on those
> routes.
>
> ex ABC 38040 XYZ
>
> Any help is appreciated, Thank you in advance.
>
> *> 1.0.128.0/18 213.200.64.93 0 0 3257 174
> 38040
> 9737 i
> *> 1.0.160.0/19 213.200.64.93 776 0 3257 2914
> 38040 9737 i
> *> 1.0.192.0/19 213.200.64.93 0 0 3257 6762
> 38040 9737 i
> *> 1.0.192.0/18 213.200.64.93 0 0 3257 174
> 38040
> 9737 i
> *> 1.0.224.0/19 213.200.64.93 0 0 3257 3356
> 38040 9737 i
> *> 1.1.128.0/19 213.200.64.93 776 0 3257 7018
> 38040 9737 i
> *> 1.1.128.0/17 213.200.64.93 0 0 3257 38040
> 9737 i
> *> 1.2.128.0/17 213.200.64.93 170 0 3257 10026
> 38040 9737 i
> *> 1.4.128.0/19 213.200.64.93 0 0 3257 7018
> 38040 9737 i
> *> 1.4.128.0/17 213.200.64.93 170 0 3257 10026
> 38040 9737 i
> *> 1.4.192.0/19 213.200.64.93 1035 0 3257 701
> 38040
> 9737 i
> *> 1.10.128.0/22 213.200.64.93 0 0 3257 38040
> 9737 23969 i
> *> 1.10.132.0/22 213.200.64.93 0 0 3257 174
> 38040
> 9737 23969 i
> *> 1.10.136.0/22 213.200.64.93 0 0 3257 6762
> 38040 9737 23969 i
> *> 1.10.224.0/19 213.200.64.93 0 0 3257 6762
> 38040 9737 i
> *> 1.20.0.0/24 213.200.64.93 0 0 3256 38040
> 9737 56120 i
> *> 1.20.0.0/17 213.200.64.93 0 0 3253 38040
> 9737 56120 i
> *> 1.20.1.0/24 213.200.64.93 0 0 3252 38040
> 9737 56120 i
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Sunil Modi
sunil.s.modi_at_gmail.com
616-889-6441
Blogs and organic groups at http://www.ccie.net
Received on Wed Jul 24 2013 - 21:17:12 ART

This archive was generated by hypermail 2.2.0 : Thu Aug 01 2013 - 08:45:50 ART