From: Administrator (Administrator@Subfighter.ca)
Date: Tue Nov 18 2008 - 22:16:43 ARST
I have entered this exactly, and still things hit the default-class for some
reason. Is it because I also have nat on the router ? Does that affect the
configuration someway ?
________________________________
From: omar parihuana [mailto:omar.parihuana@gmail.com]
Sent: Tue 11/18/2008 3:43 PM
To: Administrator
Cc: ccielab@groupstudy.com
Subject: Re: CBWFQ to block Youtube
Try this:
Voice_GW_LAB#sh run class-map
Building configuration...
Current configuration : 81 bytes
!
class-map match-all youtube
match protocol http host "*youtube.com*"
!
end
Voice_GW_LAB#sh run policy-map
Building configuration...
Current configuration : 59 bytes
!
policy-map BLOCK-youtube
class youtube
drop
!
end
Voice_GW_LAB#sh run int f0/1
Building configuration...
Current configuration : 234 bytes
!
interface FastEthernet0/1
...
service-policy output BLOCK-youtube
end
Voice_GW_LAB#
Voice_GW_LAB#sh policy-map interface f0/1
FastEthernet0/1
Service-policy output: BLOCK-youtube
Class-map: youtube (match-all)
27 packets, 29642 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol http host "*youtube.com*"
drop
Class-map: class-default (match-any)
15842 packets, 1412490 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Voice_GW_LAB#
On Tue, Nov 18, 2008 at 2:59 PM, Administrator <Administrator@subfighter.ca>
wrote:
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
-- Omar E.P.T ----------------- Certified Networking Professionals make better Connections!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