From: Charles Huang (CharlesNY2000@xxxxxxxxx)
Date: Mon Nov 12 2001 - 16:43:12 GMT-3
maybe you can try this way
ip as-path access-list 1 deny ^1 123
ip as-path access-list 1 permit .*
----- Original Message -----
From: "Krake, Kris" <KKrake@aegonusa.com>
To: <ccielab@groupstudy.com>
Sent: Monday, November 12, 2001 2:25 PM
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