RE: BGP regular expression help

From: Krake, Kris (KKrake@xxxxxxxxxxxx)
Date: Mon Nov 12 2001 - 17:24:18 GMT-3


   
I tried this without the underscores and it appears to work (eg. [^1 123]
). My question then is, why? If the underscore matches a space why
wouldn't this work with the underscore?

-----Original Message-----
From: Chuck Jacobson [mailto:c.jacobson@dubra.com]
Sent: Monday, November 12, 2001 2:46 PM
To: Krake, Kris
Subject: RE: BGP regular expression help

I think your examples would work without the underscore. With the
underscore the 123 can be anywhere in the string. Also, instead of
trying to negate with the regular expression, you could simple use the
deny in the ip as-path access list and follow it with a permit any. HTH

-----Original Message-----
From: Krake, Kris [mailto:KKrake@AEGONUSA.com]
Sent: Monday, November 12, 2001 01:26 PM
To: ccielab@groupstudy.com
Subject: BGP regular expression help

How would you write the regular expression for the following:

all paths NOT starting with the 1 123 pattern (AS 1 followed by AS 123)

I know that ^1_123 would show me those patterns with 1 123 but I need
the
opposite of that (logical not)...

I have tried ^[^1_123] and [^^1_123]

Thanks for guidance...

Kris



This archive was generated by hypermail 2.1.4 : Fri Jun 21 2002 - 06:45:13 GMT-3