From: Artur Sant'Anna (artur.lists@gmail.com)
Date: Tue Nov 18 2008 - 19:14:21 ARST
Hi there,
Could you try changing the class-map to:
class-map match-all YOUTUBE
match protocol http host "www.youtube.com"
or
class-map match-all YOUTUBE
match protocol http host *youtube.com*
Theoretically this should work, because when you use match protocol http url
you are matching the GET request and not the host part.
Regards,
Artur
2008/11/18 Administrator <Administrator@subfighter.ca>
> Hi there, I was just doing a lab and thought I would try something on my
> test
> DSL connection.
>
> My intent was to block www.youtube.com with QOS
>
> Here is what I have ...
>
> !
> class-map match-all YOUTUBE
> match protocol http url "www.youtube.com"
> !
> !
> policy-map CBWFQ_SHAPE_OUT
> class YOUTUBE
> drop
> !
> !
> interface Ethernet0
> service-policy output CBWFQ_SHAPE_OUT
> !
>
>
>
> But for some reason, it doesnt work. I have CEF enabled. When I do a show
> policy-map int e0, it shows everything hitting the default class-default
>
> I am sure I am missing something simple, but my QOS skillz are low and am
> trying to build them. Thanks !
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:30 ARST