10-02-2007 07:59 AM - edited 03-03-2019 06:59 PM
i have 3750 as DG for my station, connected to 3845 which is connected to ADSL.
i want to block a site, so i wrote in the 3845:
class-map match-any scum
match protocol http url "*microsoft*"
!
policy-map block
class scum
drop
!
interface GigabitEthernet0/0
service-policy input block
it doesn't work. why?
Solved! Go to Solution.
10-02-2007 12:26 PM
You should match a host instead of an url, try this syntax:
class-map match-any scum
match protocol http host "www.microsoft*"
10-02-2007 12:26 PM
You should match a host instead of an url, try this syntax:
class-map match-any scum
match protocol http host "www.microsoft*"
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