Re: Reg Experts!

From: Adrian Brayton <abrayton_at_gmail.com>
Date: Wed, 9 Jun 2010 15:04:10 -0400

1. The second part is incorrect. _200_300$ that would be originated in AS 300 then went through AS 200

2. That is also incorrect. The brackets just mean a range from 1-9 then the plus sign say one or more. So really that is every AS and the ? Means 0 or 1 more of what's in the parenthesis.

Now the slash, I now you can use it but not familiar with it.

Sent from my iPad

On Jun 9, 2010, at 2:27 PM, "Jack Router" <pan.router_at_gmail.com> wrote:

> 1.
> ^200_300$ - as path is "200 300"
> _200_300$ - as path must end with "200 300", for example "111 222 333 200
> 300"
>
> 2.
> ^([0-9]+)?$ - Does it make sense ? Just the part ([0-9]+) tells me that AS
> must be 10 digit long. There is no such AS.
> ^([0-9]+)(_1\)*$ - Same as above and the expression looks invalid if tested
> on a public router:
>
> route-views.optus.net.au>sh ip bgp regexp ^([0-9]+)(_1\)*$
>
> % unmatched ()
> % Invalid regular expression
>
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Poplawski, James
> Sent: 9-Jun-10 13:19
> To: 'ccielab_at_groupstudy.com'
> Subject: Reg Experts!
>
> Just going through Narbik's Regular Expression listings and using INE
> "Understanding BGP Regular Expressions" for reference.
>
> I have some questions if anyone can explain in people terms. Here goes.
>
> What's the difference between?
> deny ^200_300$
> deny _200_300$
>
> ^([0-9]+)?$
> ^([0-9]+)(_1\)*$
>
> _100+
> ^([0-9]+)(_\1)*$
>
> In regards to ^([0-9]+)(_\1)*$ why is the number 1 chosen? Why have it at
> all? Why not have a 0 or a 2 in there? I'm still looking through
> documentation on \.
>
> Any help is appreciated, thanks!
> JB
>
> This transmission contains information for the exclusive use of the intended
> recipient and may be privileged, confidential and/or otherwise protected
> from disclosure. Any unauthorized review or distribution is strictly
> prohibited. Our company is required to retain electronic mail messages,
> which may be produced at the request of regulators or in connection with
> litigation. Electronic messages cannot be guaranteed to be secure, timely or
> error-free. As such, we recommend that you do not send confidential
> information to us via electronic mail. This communication is for
> informational purposes only and is not an offer or solicitation to buy or
> sell any investment product. Any information regarding specific investment
> products is subject to change without notice. If you received this
> transmission in error, please notify the sender immediately by return e-mail
> and delete this message and any attachments from your system.
>
>
> 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 Wed Jun 09 2010 - 15:04:10 ART

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