Re: AS path filter for confederation

From: ying chang (ying_c@xxxxxxxxxxx)
Date: Fri Apr 26 2002 - 22:25:31 GMT-3


   
Hi Guy,

When you replace the first statement's ^_14__27$ with ^(14)_27$ you get
^14_27 as far as regular expression concerns. Just remember parenthese in ip
as-path statement has its own special meaning, than everything would become
clear.

I hope I don't confuse you.

Chang

>From: "Lupi, Guy" <Guy.Lupi@eurekaggn.com>
>Reply-To: "Lupi, Guy" <Guy.Lupi@eurekaggn.com>
>To: "'ccielab@groupstudy.com'" <ccielab@groupstudy.com>
>Subject: AS path filter for confederation
>Date: Fri, 26 Apr 2002 19:09:51 -0400
>
>I am trying to use an as path filter to match a route, I have one that
>works
>and one that doesn't. I can't figure out why the first one doesn't work,
>as
>I thought that the underscore is a match on parantheses also. What is
>wrong
>with the first statement? Thanks.
>
>
>ip as-path access-list 1 permit ^_14__27$ ----- This one doesn't work
>ip as-path access-list 1 permit ^\(14\)_27$ --- This one works
>
>This is the route I am trying to match.
>
>i0.0.0.0 2.2.2.2 0 0 (14) 27 i



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:20 GMT-3