RE: match-any vs match all

From: Ajay Prakash (ajay.prakash@networkpeople.co.in)
Date: Thu Sep 20 2007 - 05:53:37 ART


When you have to use multiple match statements within a class and all of
them have to be true for the class to be true, you use match-all

Eg.

Class-map match-all FTP
 Match ip precedence 5
 Match protocol ftp

In this case both things have to be true (ftp traffic with precedence 5) for
the class to be true

In case of match-any any one of the match statements in the class have to be
true for class to e true

Eg.

Class-map match-any P2P
 Match protocol edonkey
 Match protocol gnutella
 Match protocol kazaa2

If the traffic matches any one of the three match statements, the class is
true.

HTH
Ajay

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Radioactive Frog
Sent: Thursday, September 20, 2007 2:06 PM
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