05-09-2007 03:01 PM - edited 03-03-2019 04:54 PM
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
05-10-2007 10:15 AM
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?
05-10-2007 10:58 AM
Hi,
Can you try to block this range and then try.
208.65.152.0 - 208.65.155.255
Regards,
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: