RE: regular expression once more

From: Alvarez, Rolando [NCSUS] (RAlvare5@NCSUS.JNJ.COM)
Date: Thu Jul 17 2003 - 13:38:07 GMT-3


How about this:

ip as-path access-list 1 permit _[^(100)].*$

Thanks,
RA

-----Original Message-----
From: Chen Kwong Wai William [mailto:kwchen@netvigator.com]
Sent: Thursday, July 17, 2003 12:34 PM
To: Pete Yeargin (pyeargin); 'Connie Nie'; ccielab@groupstudy.com
Subject: Re: regular expression once more

Hi,

    Just want do know if it is necessary to enclose the 100 with
parenthesis.

Will

----- Original Message -----
From: "Pete Yeargin (pyeargin)" <pyeargin@cisco.com>
To: "'Connie Nie'" <CNie@EPLUS.com>; <ccielab@groupstudy.com>
Sent: Friday, July 18, 2003 12:05 AM
Subject: RE: regular expression once more

> Connie,
>
> What about "ip as-path access-list 1 permit _[^100]$"?
>
> Pete
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Connie Nie
> Sent: Thursday, July 17, 2003 11:55 AM
> To: ccielab@groupstudy.com
> Subject: regular expression once more
>
>
> Anyone know how can you match something like "routes NOT originated from
> AS 100"---------I know you can deny those come from as 100 and permit
> the rest of it, but can it be done in one expression?
>
> Thanks,
>
> Connie
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:43 GMT-3