RE: BGP REGEXP

From: Tyson Scott <tscott_at_ipexpert.com>
Date: Fri, 25 Jun 2010 14:47:38 -0400

Go to a route-server and test it out.

Did you read this post from a few weeks ago?

If you guys want to play around with it go to a public route-server and test
your expressions. Search google for "route-server" I for example
frequently use route-server.ip.att.net

Regards,
 
Tyson Scott - CCIE #13513 R&S, Security, and SP
Managing Partner / Sr. Instructor - IPexpert, Inc.
Mailto: tscott_at_ipexpert.com

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
Muzammil Malick
Sent: Friday, June 25, 2010 2: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 - 14:47:38 ART

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