Re: one question on matching images (MQC)

From: darth router (darklordrouter@gmail.com)
Date: Mon Sep 03 2007 - 06:01:52 ART


I am not 100% sure of this, but this one does not seem to work in my tests.
I spent hours screwing with both examples, and what I found with the below
is, if I selected a picture of one of the listed types, the policy would
match, but if you immediately select another type, it will not match and
break the policy, and traffic does not get policed or dropped (depending
what you are trying to do). Maybe some of the training gurus could
elaborate. the 1rst one you listed will work as expected.

class-map match-all IMAGES
 match protocol http url "*.jpg|*.gif|*.jpeg"

On 9/3/07, Salau, Yemi <yemi.salau@siemens.com> wrote:
>
> Both will achieve same results, I would use the second option because it
> saves me a hell lot of time, every seconds count in the lab mate!
>
> Ofcourse provided if you're not streamlined!
>
> Many Thanks
>
> Yemi Salau
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Joseph Brunner
> Sent: Monday, September 03, 2007 6:44 AM
> To: ccielab@groupstudy.com
> Subject: one question on matching images (MQC)
>
> Which would you use and why?
>
>
>
> class-map match-any IMAGES
>
> match protocol http url "*.jpg"
>
> match protocol http url "*.gif"
>
> match protocol http url "*.jpeg"
>
>
>
> or
>
>
>
> class-map match-all IMAGES
>
> match protocol http url "*.jpg|*.gif|*.jpeg"
>
>
>
>
>
> danke schon!
>
> _______________________________________________________________________
> 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 : Sat Oct 06 2007 - 12:01:09 ART