cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
562
Views
0
Helpful
3
Replies

youtube block

wasiimcisco
Level 1
Level 1

i m trying to block the youtube on my network. I have confiugred the following things on my internet router.

class-map match-any youtube

match protocol http url "*youtube*"

!

!

policy-map p2p

class youtube

drop

interface GigabitEthernet0/1

ip nbar protocol-discovery

service-policy input p2p.

But still users are able to open youtube.

I m gettin hitcount on policy but unable to drop the youtube traffic.

Class-map: youtube (match-any)

1736 packets, 1044139 bytes

5 minute offered rate 0 bps, drop rate 0 bps

Match: protocol http url "*youtube*"

1736 packets, 1044139 bytes

5 minute rate 0 bps

drop

3 Replies 3

johnakeating
Level 1
Level 1

Here is a little how to on nbar

http://www.learnios.com/viewtopic.php?f=5&t=111

Wilson Samuel
Level 7
Level 7

Hey,

Just wanted to know if this filtering is done at the LAN side of the Interface or its at the WAN side.

Regards,

Wilson Samuel

cfolkerts
Level 1
Level 1

Try putting your service policy in the outbound direction.

Review Cisco Networking products for a $25 gift card