hello
l am trying to block facebook and youtube but all fail.
below is the config.
class-map match-any BLK-YOUTUBE
match protocol http host "*youtube.com*"
match protocol http host "*https://www.youtube.com*"
match protocol http url "*youtube-ui.l.google.com*"
match protocol http host "*youtube-ui.l.google.com*"
!
policy-map FILTER-URLS
class BLK-YOUTUBE
drop
then l apply the service policy to the outside interface.
when l run the verification command:
Border-Router#sho policy-map interface g0/1
GigabitEthernet0/1
Service-policy input: FILTER-URLS
Class-map: BLK-YOUTUBE (match-any)
88 packets, 29649 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: protocol http host "*youtube.com*"
88 packets, 29649 bytes
5 minute rate 0 bps
Match: protocol http host "*https://www.youtube.com*"
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol http url "*youtube-ui.l.google.com*"
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol http host "*youtube-ui.l.google.com*"
0 packets, 0 bytes
5 minute rate 0 bps
drop
Class-map: class-default (match-any)
9808742 packets, 12028713529 bytes
5 minute offered rate 13952000 bps, drop rate 0000 bps
Match: any
this does not block anything. any help please.