From: Jason Guy \(jguy\) (jguy@cisco.com)
Date: Thu Sep 20 2007 - 16:30:45 ART
Exactly!
> -----Original Message-----
> From: Joseph Brunner [mailto:joe@affirmedsystems.com]
> Sent: Thursday, September 20, 2007 3:28 PM
> To: Jason Guy (jguy); 'Ronnie Angello'; 'Radioactive Frog'
> Cc: 'Cisco certification'; 'Cisco certification'
> Subject: RE: match-any vs match all
> 
> This would match nothing... No packet can have 2 dscp markings... come
> on!!!
> 
> 
> class-map match-all dscp
>  match dscp af31
>  match dscp ef
> 
> 
> 
> This would match af31|ef (as both are on one line)
> 
> class-map match-all DSCP
>  match  dscp af31  ef
> 
> -Joe
> 
> 
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Jason Guy (jguy)
> Sent: Thursday, September 20, 2007 2:11 PM
> To: Ronnie Angello; Radioactive Frog
> Cc: Cisco certification; Cisco certification
> Subject: RE: match-any vs match all
> 
> Ronnie,
> 
> I think your DSCP example is true only if you configure it like this:
> 
> class-map match-all dscp
>  match dscp af31
>  match dscp ef
> !
> 
> The match-any/all criteria apply only to the match statements, not
just
> values within a class.  However, if you were to configure it like
this:
> 
> class-map match-all DSCP
>  match  dscp af31  ef
> !
> 
> This would still match AF31 -OR- EF.  I cannot find this clearly
stated
> in the doccd.  I believe there is always an implicit OR for multiple
> values within a given match line.
> 
> Jason
> 
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
> Of
> > Ronnie Angello
> > Sent: Thursday, September 20, 2007 11:47 AM
> > To: Radioactive Frog
> > Cc: Cisco certification; Cisco certification
> > Subject: Re: match-any vs match all
> >
> > Just to add a classic example to what Scott said, say you you need
to
> > match
> > multiple DSCP values in a class-map.  You don't want to use
match-all
> if
> > you
> > need to match AF31 and EF.  That class-map will not match anything
> because
> > a
> > packet can't be marked with both DSCP values.  You would need to use
> > match-any in that case.
> >
> > On 9/20/07, Scott Morris <swm@emanon.com> wrote:
> > >
> > > When you have multiple things that must match (AND) or multiple
> things
> > > that
> > > may match (OR)
> > >
> > > -----Original Message-----
> > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
Behalf
> Of
> > > Radioactive Frog
> > > Sent: Thursday, September 20, 2007 4:36 AM
> > > To: Cisco certification; Cisco certification
> > > Subject: match-any vs match all
> > >
> > > When to use  "class-map match-all <abcd>" and when "class-map
> match-any
> > > <abcd>"
> > >
> > > Advantage/dis-advantage ?
> > >
> > > Frog
> > >
> > >
>
This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:14 ART