RE: BGP Regular Expression Quizz

From: Albert Lu (albert_ccie@xxxxxxxxx)
Date: Wed Dec 05 2001 - 00:06:00 GMT-3


   
Greg,

I've tried it with ^7474.*13606$ and ^7474_.*_13606$ and ^7474 .* 13606$

They all work. What is the most correct solution?

Albert

-----Original Message-----
From: Gregory W. Posey Jr. [mailto:gposey@uaes.org]
Sent: Wednesday, December 05, 2001 11:22 AM
To: Albert Lu; ccielab@groupstudy.com
Subject: RE: BGP Regular Expression Quizz

I would think the appropriate regular expression would be...

^7474 .* 13606$
Since .* is the same as all paths (according to Halabi)

Thank you,
Greg Posey Jr.
CCIE #7981
CCNP - Security Specialist
Cisco Voice Access Specialist
M.S. EE

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Albert Lu
Sent: Tuesday, December 04, 2001 6:54 PM
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