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


My concern is not the direction but the structure of the policy-map and does
that block drop images from that website beside policing?

On Fri, Sep 12, 2008 at 4:12 PM, Shahid Ansari <shahid1357@xxxxxxxxx> wrote:

>  Did you applied service-policy on Interface ?
> Read the question carfully and mention correct direction In/Out .Mention
> specific networks in ACCESS-LIST if needed .
>
> Verification -
> sh policy-map int f0/X
> sh int f0/x
>
>
>
>
>   On Fri, Sep 12, 2008 at 11:25 PM, Ali Mousawi <mousawi.ali@xxxxxxxxx>wrote:
>
>>  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
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> Regards,
>
> Shahid