RE: QoS (policing .jpg,jif, jpeg

From: Anderson Mota Alves (mota_anderson@hotmail.com)
Date: Sat Feb 11 2006 - 08:39:17 GMT-3


Hi,

According to this requirement you would need to use NBAR to match the
mime types in the class-map, I think you can combine extensions using
only one command something like this, Imagine you have to match these
extensions .jpg, .gif, .jpeg and limit the http download in 200 Kbps so I
would resolve this as explained below:

class-map match-any http_traffic
match protocol http mime "*.jpg|*.jpeg|*.gif"

policy-map nbar_http
class http_traffic
police 200000 conform transmit exceed drop

int s0/0
service policy output nbar_http

Someone correct me if I'm wrong if something is wrong in this solution
the guru in QoS may be could help us which his name is Chris Lewis.

Thanks,

Andy

  --------------------------------------------------------------------

  From: sameer.azam@gmail.com
  Reply-To: sameer.azam@gmail.com
  To: ccielab@groupstudy.com
  Subject: QoS (policing .jpg,jif, jpeg
  Date: Sat, 11 Feb 2006 05:20:57 -0500
>Hi,
>What is the correct way to indentify the http traffic containing
>.jpg, .gif and so on.
>I mean to say how would you creat the CLASS-MAP.
>
>If you check in the cisco site at
>http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r/qos_m1h.htm#wp1112789
>
>they have given the example as follows;
>The following example classifies, within the class map called
  "class3," packets based on the Joint Photographics Expert Group
  (JPEG) MIME type:
>
>class-map class3
>
>match protocol http mime "*jpeg"
>
>
>Which according to me is wrong.
>So if any one else there who knows how to match this traffic then
  pls share with us.
>Regards
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Mar 01 2006 - 11:28:17 GMT-3