From: Joe Smith (j333smith@hotmail.com)
Date: Wed Mar 16 2005 - 11:02:54 GMT-3
Yes that is my understanding too.
>From: "Georg Pauwen" <pauwen@hotmail.com>
>Reply-To: "Georg Pauwen" <pauwen@hotmail.com>
>To: ccielab@groupstudy.com
>Subject: Class map match all match any
>Date: Wed, 16 Mar 2005 10:37:08 +0000
>
>Hello group,
>
>this might be a stupid question, but I am just trying to clear some things
>up: it was my understanding that the difference between a match-all and a
>match-any in a class-map was that match-all has to match every single
>condition, like the logical AND, and that match-any has to match either one
>of the conditions, like the logical OR.
>So in this example:
>
>access-list 101 permit tcp any any eq www
>access-list 102 permit tcp any any eq bgp
>
>a class-map match-all:
>
>class-map match-all WWW_AND_BGP
>match ip address 101
>match ip address 102
>
>would never work, because the traffic types www and bgp will never be the
>same.
>
>A class-map match-any:
>
>class-map match-any WWW_OR_BGP
>match ip address 101
>match ip address 102
>
>would work, since either one of the access lists have to apply, and not
>both.
>
>Is this the right reasoning ? I am just asking because I have seen a sample
>configs where the match-all statement was used like in the example above...
>
>Thanks for your input in advance.
>
>Regards,
>
>Georg
>
>_________________________________________________________________
>MSN Messenger : discutez en direct avec vos amis !
>http://www.msn.fr/msger/default.asp
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:46 GMT-3