Re: Just want confirm this match requirement

From: Ram Shummoogum (rshummoo@ca.ibm.com)
Date: Wed Mar 05 2003 - 11:04:53 GMT-3


I do not think so.
Both are OR statement.
If you are trying to match 2 different parameters such as as-path and
community then the AND applies.

if you do match as-path 20 and
match as-path 30 on a different line you will end up with the following in
the show run.

ip as-path access-list 20 permit ^20$
ip as-path access-list 30 permit ^30$
!
route-map rambo permit 10
 match as-path 20 30

Cheers,
RAM

"Emre Koyuncu" <emrekoyuncu@hotmail.com>@groupstudy.com on 03/05/2003
03:06:18 AM

Please respond to "Emre Koyuncu" <emrekoyuncu@hotmail.com>

Sent by: nobody@groupstudy.com

To: <ccielab@groupstudy.com>, "love cisco" <love_cisco@hotmail.com>
cc:
Subject: Re: Just want confirm this match requirement

Hi,

It is a late answer but maybe you still need the answer.

match as-path 20 30 => means match 20 OR 30

match as-path 20
match as-path 30 => means match 20 AND 30

Regards
Emre Koyuncu CCIE #10916

----- Original Message -----
From: "love cisco" <love_cisco@hotmail.com>
To: <ccielab@groupstudy.com>
Sent: Tuesday, March 04, 2003 1:14 AM
Subject: Just want confirm this match requirement

> For this example:
> Is the !0match!1 requiring both as-path access-list or just any one of
the
> as-path access-list?
>
> =======================================
> ip as-path access-list 20 permit ^220_
> ip as-path access-list 30 permit _800$
> !
> route-map filte-as permit 10
> match as-path 20 30
>
>
>
> _________________________________________________________________
> Cb7QOBTX MSN Explorer: http://explorer.msn.com/lccn/



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:32 GMT-3