cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1514
Views
4
Helpful
16
Replies

Block Youtube.com

jpl861
Level 4
Level 4

Hi,

I'm trying to block youtube.com using NBAR. I can see on the show policy-map interface that it matches the class-map but the router won't drop the packet. Here's my config.

class-map match-any Class_NBAR

match protocol bittorrent

match protocol gnutella

match protocol kazaa2

match protocol gopher

match protocol napster

match protocol rtp video

match protocol http url "*.youtube.com*"

policy-map Policy_NBAR

class Class_NBAR

drop

interface FastEthernet0/1

ip nbar protocol-discovery

service-policy output Policy_NBAR

Is this a correct configuration? Thanks.

Regards,

John

16 Replies 16

I tried to monitor the policy-map and there very minimal packets. Do you guys have any other idea on how to do this except for using ACL blocking the IP address of www.youtube.com?

Hi,

Can you try to block this range and then try.

208.65.152.0 - 208.65.155.255

Regards,

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: