GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
QoS posted 09/12/2008
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


Hello,

Task: Police Traffic from www.youtube.com to 512000kbp and drop all images
(jpeg,jpg or gif) from this website.

My Solution is:

###########################
class-map URL
match protocol http url www.youtube.com

class-map IMAGES
match protocol http mime "*jpg"
 match protocol http mime "*jpeg"
 match protocol http mime "*gif"

policy-map DROP_IMAGES
class IMAGES
  drop

policy-map POLICE
class URL
 police 512000
 service-policy DROP_IMAGES
###############################

Any comments on the above solution?
How can I test if this solution is working?

Regards
Ali