RE: CBWFQ to block Youtube

From: Administrator (Administrator@Subfighter.ca)
Date: Tue Nov 18 2008 - 18:18:21 ARST


Hi there, I have also tried

 match protocol http host "www.subfighter.ca"

but still, no luck and the show policy-map d1 shows everything hitting the
default class

i must be doing something wrong, but i have on the dialer the service policy
going out

________________________________

From: Artur Sant'Anna [mailto:artur.lists@gmail.com]
Sent: Tue 11/18/2008 3:14 PM
To: Administrator
Cc: ccielab@groupstudy.com
Subject: Re: CBWFQ to block Youtube

Hi there,

Could you try changing the class-map to:

 class-map match-all YOUTUBE
 match protocol http host "www.youtube.com <http://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 <http://www.youtube.com/> with QOS

        Here is what I have ...

        !
         class-map match-all YOUTUBE
         match protocol http url "www.youtube.com <http://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 <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