<ctrl> v for the escape, then ?
-ryan
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On
> Behalf Of Jack Router
> Sent: Wednesday, June 09, 2010 3:36 PM
> To: 'Tyson Scott'; 'Poplawski, James'; ccielab_at_groupstudy.com
> Subject: RE: Reg Experts!
> 
> How do you test expressions with question mark. As soon as I type it IOS
> thinks it is help:
> 
> route-views.optus.net.au>sh ip bgp regexp 202?
> LINE    <cr>
> 
> 
> -----Original Message-----
> From: Tyson Scott [mailto:tscott_at_ipexpert.com]
> Sent: 9-Jun-10 15:29
> To: 'Poplawski, James'; 'Jack Router'; ccielab_at_groupstudy.com
> Subject: RE: Reg Experts!
> 
> 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
> 
> Here is what 100+ matches.  Notice the output.  It is matching 10002 and
> 10026
> 
> route-server>show ip bgp regexp 100+
> BGP table version is 41364546, local router ID is 12.0.1.28 Status codes: s
> suppressed, d damped, h history, * valid, > best, i - internal,
>               r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
> 
>    Network          Next Hop            Metric LocPrf Weight Path
> *  12.120.206.0/24  12.122.125.4          1666             0 7018 17224
> 10002 17225 i
> *                   12.123.139.124                         0 7018 17224
> 10002 17225 i
> *                   12.123.5.240                           0 7018 17224
> 10002 17225 i
> *                   12.123.21.243                          0 7018 17224
> 10002 17225 i
> *>                  12.123.1.236                           0 7018 17224
> 10002 17225 i
> *                   12.122.83.91          1711             0 7018 17224
> 10002 17225 i
> *                   12.123.37.250                          0 7018 17224
> 10002 17225 i
> *                   12.123.134.124                         0 7018 17224
> 10002 17225 i
> *                   12.123.29.249                          0 7018 17224
> 10002 17225 i
> *                   12.123.142.124                         0 7018 17224
> 10002 17225 i
> *                   12.123.137.124                         0 7018 17224
> 10002 17225 i
> *                   12.123.25.245                          0 7018 17224
> 10002 17225 i
> *                   12.123.17.244                          0 7018 17224
> 10002 17225 i
> *                   12.123.41.250                          0 7018 17224
> 10002 17225 i
> *                   12.123.9.241                           0 7018 17224
> 10002 17225 i
> *                   12.123.13.241                          0 7018 17224
> 10002 17225 i
> *                   12.123.45.252                          0 7018 17224
> 10002 17225 i
> *                   12.123.133.124                         0 7018 17224
> 10002 17225 i
> *                   12.123.33.249                          0 7018 17224
> 10002 17225 i
> *                   12.123.145.124                         0 7018 17224
> 10002 17225 i
> *  27.1.0.0/18      12.122.125.4           511             0 7018 10026 9848
> 9943 i
> *                   12.123.139.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.5.240                           0 7018 10026 9848
> 9943 i
> *                   12.123.21.243                          0 7018 10026 9848
> 9943 i
> *>                  12.123.1.236                           0 7018 10026 9848
> 9943 i
> *                   12.123.13.241                          0 7018 10026 9848
> 9943 i
> *                   12.123.134.124                         0 7018 10026 9848
> 9943 i
> *                   12.122.83.91           161             0 7018 10026 9848
> 9943 i
> *                   12.123.9.241                           0 7018 10026 9848
> 9943 i
> *                   12.123.41.250                          0 7018 10026 9848
> 9943 i
> *                   12.123.133.124                         0 7018 10026 9848
> 9943 i
>    Network          Next Hop            Metric LocPrf Weight Path
> *                   12.123.142.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.17.244                          0 7018 10026 9848
> 9943 i
> *                   12.123.145.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.37.250                          0 7018 10026 9848
> 9943 i
> *                   12.123.137.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.29.249                          0 7018 10026 9848
> 9943 i
> *                   12.123.25.245                          0 7018 10026 9848
> 9943 i
> *                   12.123.45.252                          0 7018 10026 9848
> 9943 i
> *                   12.123.33.249                          0 7018 10026 9848
> 9943 i
> *  27.1.64.0/18     12.122.125.4           511             0 7018 10026 9848
> 9943 i
> *                   12.123.139.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.5.240                           0 7018 10026 9848
> 9943 i
> *                   12.123.21.243                          0 7018 10026 9848
> 9943 i
> *>                  12.123.1.236                           0 7018 10026 9848
> 9943 i
> *                   12.123.13.241                          0 7018 10026 9848
> 9943 i
> *                   12.123.134.124                         0 7018 10026 9848
> 9943 i
> *                   12.122.83.91           161             0 7018 10026 9848
> 9943 i
> *                   12.123.9.241                           0 7018 10026 9848
> 9943 i
> *                   12.123.41.250                          0 7018 10026 9848
> 9943 i
> *                   12.123.133.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.142.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.17.244                          0 7018 10026 9848
> 9943 i
> *                   12.123.145.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.37.250                          0 7018 10026 9848
> 9943 i
> *                   12.123.137.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.29.249                          0 7018 10026 9848
> 9943 i
> *                   12.123.25.245                          0 7018 10026 9848
> 9943 i
> *                   12.123.45.252                          0 7018 10026 9848
> 9943 i
> *                   12.123.33.249                          0 7018 10026 9848
> 9943 i
> *  27.1.128.0/18    12.122.125.4           511             0 7018 10026 9848
> 9943 i
> *                   12.123.139.124                         0 7018 10026 9848
> 9943 i
> *                   12.123.5.240                           0 7018 10026 9848
> 9943 i
> *                   12.123.21.243                          0 7018 10026 9848
> 9943 i
> *>                  12.123.1.236                           0 7018 10026 9848
> 9943 i
> *                   12.123.13.241                          0 7018 10026 9848
> 9943 i
> *                   12.123.134.124                         0 7018 10026 9848
> 9943 i
> *                   12.122.83.91           161             0 7018 10026 9848
> 9943 i
> 
> Regards,
> 
> Tyson Scott - CCIE #13513 R&S, Security, and SP Managing Partner / Sr.
> Instructor - IPexpert, Inc.
> Mailto: tscott_at_ipexpert.com
> Telephone: +1.810.326.1444, ext. 208
> Live Assistance, Please visit: www.ipexpert.com/chat
> eFax: +1.810.454.0130
> 
> IPexpert is a premier provider of Self-Study Workbooks, Video on Demand,
> Audio Tools, Online Hardware Rental and Classroom Training for the Cisco
> CCIE (R&S, Voice, Security & Service Provider) certification(s) with training
> locations throughout the United States, Europe, South Asia and Australia. Be
> sure to visit our online communities at www.ipexpert.com/communities and
> our public website at www.ipexpert.com
> 
> 
> -----Original Message-----
> From: Poplawski, James [mailto:jpoplawski_at_starkinvestments.com]
> Sent: Wednesday, June 09, 2010 3:26 PM
> To: 'Jack Router'; 'Tyson Scott'; ccielab_at_groupstudy.com
> Subject: RE: Reg Experts!
> 
> I thought it was matching 100 or any combination of 100, IE 100 100 100 100 in
> the case of prepending.
> 
> The _100+ worked for my lab to allow the 100's through (9 of them
> prepended) however the solution had the crazy ^([0-9]+)(_\1)*$ sequence
> for solution.
> 
> -----Original Message-----
> From: Jack Router [mailto:pan.router_at_gmail.com]
> Sent: Wednesday, June 09, 2010 2:22 PM
> To: 'Tyson Scott'; Poplawski, James; ccielab_at_groupstudy.com
> Subject: RE: Reg Experts!
> 
> What about 5th: _100+
> Should it be: begins with 100 and has any number of 0s after it ?
> 
> As per DOC CD:
> + Matches one or more sequences of the character preceding the plus sign.
> 
> 
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On
> Behalf Of Tyson Scott
> Sent: 9-Jun-10 15:12
> To: 'Poplawski, James'; ccielab_at_groupstudy.com
> Subject: RE: Reg Experts!
> 
> James,
> 
> The first will deny only if the last AS in the path was 200 The second will deny
> if in the path 200 and originated in 300 but may have additional AS's as well
> first.
> The first one only allows two AS
> 
> The third will allow either 1 AS in the path or Null (Meaning local AS
> prefixes.)
> The fourth will match if 1 AS is in the path or if 1 AS plus the as 1 as the
> originator in the path
> 
> The fifth is an AS that begins with 100 and has any numbers after it.
> The sixth is the same as the third
> 
> 
> 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 Poplawski, James
> Sent: Wednesday, June 09, 2010 1:19 PM
> 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
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 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
Received on Wed Jun 09 2010 - 19:46:04 ART
This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 09:11:37 ART