RE: BGP Regular Expression Quizz

From: Jason Sinclair (sinclairj@xxxxxxxxxxxxxxx)
Date: Tue Dec 04 2001 - 22:16:28 GMT-3


   
This will work:

^(_7911)_.*_19888+$

regards,

Jason Sinclair
Manager, Network Support Group
POWERTEL
Ground Level, 55 Clarence Street,
SYDNEY NSW 2000
AUSTRALIA
office: + 61 2 8264 3820
mobile: + 61 2 416 105 858
* sinclairj@powertel.com.au

                -----Original Message-----
                From: Albert Lu [mailto:albert_ccie@yahoo.com]
                Sent: Wednesday, 5 December 2001 09:54
                To: ccielab@groupstudy.com
                Subject: BGP Regular Expression Quizz

                Quick quizz on how well you guys know your Regular
Expressions.

                How can match a route that has originated from AS 13606 and
ending at AS
                7474

                An example would be

                   Network Next Hop Metric LocPrf Weight
Path
                * i209.37.145.0 216.14.195.13 1000 0
7474 701 7018
                13606 i

                My best attempt is:

                ^7474(_[0-9]+_)13606$

                It doesn't work

                Thanks

                Albert



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:37 GMT-3