RE: Which one is correct URL or MIME?

From: ccie2be (ccie2be@nyc.rr.com)
Date: Sat Mar 26 2005 - 09:33:10 GMT-3


Sundar,

There was a detailed discussion on just this question some time ago - around
last November if I recall. Scott Morris explained in detailed how to know
which option to use.

Here, in essence, is what I remember.

If what has to be affected has a period in it e.g. "*.jpg", that's part of
the url string and therefore you should use the url option.

If there's no period, then use the mime type.

HTH,Tim

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Sundar Palaniappan
Sent: Friday, March 25, 2005 3:50 PM
To: ccielab@groupstudy.com
Subject: Which one is correct URL or MIME?

Guys,

If the requirment is to set a rate-limit for .jpeg or .jpg traffic to
10k. Which of the following solutions is correct?

ipcef

 class-map match-any test
  match protocol http url "*jpg"
  match protocol http url "*jpeg"
 

(or)

 class-map match-any test
  match protocol http mime "*jpg"
  match protocol http mime "*jpeg"

 policy-map test
  class test
   police cir 10000

TIA,
Sundar Palaniappan



This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:52 GMT-3