Re: Match-all vs match-any

From: dara tomar (wish2ie@gmail.com)
Date: Sun May 25 2008 - 11:21:42 ART


"The 3rd has the match all which would require it to match CS3 & AF31"

We have match-all but only a single condition with multiple dscp values,
these would surely OR between all the dscp values supplied.

Regards,
Dara

On Sun, May 25, 2008 at 7:44 PM, Jonathan Greenwood II <gwood83@gmail.com>
wrote:

> I believe the 1st and 2nd examples are correct. The 3rd has the match all
> which would require it to match CS3 & AF31 which is similar to the 1st
> example but you can place them in 1 line.
>
> On Sun, May 25, 2008 at 9:00 AM, dara tomar <wish2ie@gmail.com> wrote:
>
>> *I am sure,
>>
>>
>> The first one is incorrect !!!
>>
>> How can we match two dscp values in a single packet ??
>>
>> Regards,
>> Dara*
>>
>> On Sun, May 25, 2008 at 6:43 PM, ccievoice1 <ccievoice1@gmail.com> wrote:
>>
>> > YES
>> >
>> > On Sun, May 25, 2008 at 8:22 PM, Radioactive Frog <pbhatkoti@gmail.com>
>> > wrote:
>> >
>> > > *Example#1
>> > > *Class-map *match-all* test1
>> > > match ip dscp CS3
>> > > match ip dscp AF31
>> > >
>> > > result# the test1 class - must match CS3+AF31, otherwise this class
>> will
>> > > not work.
>> > >
>> > > *Example#2
>> > > *Class-map *match-any* test1
>> > > match ip dscp CS3
>> > > match ip dscp AF31
>> > >
>> > > result# the test1 class will can match either CS3 or AF31
>> > >
>> > > *Example#3
>> > > *Class-map *match-all* test1
>> > > match ip dscp CS3 AF31
>> > >
>> > > result# the test1 class will can match either CS3 or AF31
>> > >
>> > > According to my understanding Example 2 and example 3 are the same.
>> > >
>> > > Am I right?
>> > >
>> > > -Frog
>> > >
>> > >
>> > >
>> _______________________________________________________________________
>> > > Subscription information may be found at:
>> > > http://www.groupstudy.com/list/CCIELab.html
>> >
>> >
>> > _______________________________________________________________________
>> > Subscription information may be found at:
>> > http://www.groupstudy.com/list/CCIELab.html
>>
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:18 ART