RE: BGP REGEXP

From: Poplawski, James <jpoplawski_at_starkinvestments.com>
Date: Fri, 25 Jun 2010 13:46:17 -0500

Muzammil,

Read through this a couple times and see if it helps.

http://blog.ine.com/2008/01/06/understanding-bgp-regular-expressions/

Also Narbik has some excellent labs that cover it quite nicely. Double-check your Vendor material and see if it's covered that way. I'm not an expert at them yet either. Read it, practice, re-read and take a break. Come back and do the same thing. Don't over think it, it's just a different language that's all!

HTH,
JB

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of Muzammil Malick
Sent: Friday, June 25, 2010 1:37 PM
To: Cisco certification
Subject: BGP REGEXP

Hi Guys

Can someone help me out here?

I have always struggled with my understanding of regexp but I WANT to
understand them desperately.
I have to hang my head in shame because I have read a lot of posts out there
but still keep getting confused.

For example

the "+" operator. As far as I can understand this means 1 or more instances.
I have seen this used as follows:

^[0-9]+$ Directly connected AS.

So I tested this using home made lab and sure enough it only shows routes
from directly connected AS'
When I look at this I interpret it as any number between 0-9, and this can
be repeated one ore more times.
e.g 1, 2, 3 or 22, 2222
So how does this match 54, or 65?

Thanks

Blogs and organic groups at http://www.ccie.net
Received on Fri Jun 25 2010 - 13:46:17 ART

This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 09:11:38 ART