From: Cassidy D. Smith (csmith@plannetconsulting.com)
Date: Mon Feb 10 2003 - 04:26:37 GMT-3
If you were trying to match on (65078) you would need to "escape" your
parentheses "(" and ")" . They have special RegExp meaning, to escape those
so that they can be matched on as simple ascii characters, you need to use
the backslash "\".
So to rewrite the below:
ip as-path access-list 1 permit ^\(65078\)$
I saw your earlier post and ^$ means no AS_PATH or empty. It looked like it
was only allowing the "empty" match. Perhaps your confederation was not
configured the way they wanted you to, or you are filtering at the wrong
place?
Cassidy
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
ng-hlong@hn.vnn.vn
Sent: Monday, February 10, 2003 10:55 AM
To: ccielab@groupstudy.com
Subject: Re: RE: regexp & confederation again (Ipexpert Lab9, item 11)
Hi Dave,
Yes,I have.
R2,R5,R6,R7,R8 is in confederation 200 as stated in the LAB9.
ip as-path access-list 1 permit ^(65078)$ does not help solve problem.
Thanks for your input,
Nguyen Hoang Long
-------------------------------------------------------------------------
Get your private, free Email by Vietnamese at http://vol.vnn.vn/
.
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:17 GMT-3