03-27-2019 07:29 AM
I used the Class-map command to block some websites but it did not work, this is commands i used. #class-map match-any blocksitesclass #match protocol http host *youtube* #match protocol http host *porn* #exit #do show class-map #policy-map blocksitespolicy #class blocksitesclass #drop #drop #exit #do show policy-map #int gi0/1 #service-policy input blocksitespolicy
Solved! Go to Solution.
03-27-2019 07:33 AM
The websites you're trying to block utilize HTTPS, so the class map matching HTTP will not suffice.
03-27-2019 08:38 AM
Hi,
Those websites are working on the HTTPS protocol so you have to add
match protocol https
Regards,
Deepak Kumar
03-27-2019 07:33 AM
The websites you're trying to block utilize HTTPS, so the class map matching HTTP will not suffice.
03-27-2019 08:38 AM
Hi,
Those websites are working on the HTTPS protocol so you have to add
match protocol https
Regards,
Deepak Kumar
03-29-2019 05:23 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide