Quantcast
Channel: IEOC - INE's Online Community
Viewing all articles
Browse latest Browse all 10672

NBAR to block URL not working

$
0
0

Hello All,

 

I am trying to use NBAR on my network to block certain websites at certain times to limit the traffic on the network.  I am testing it right now and trying to block Google to no avail.  My configuration is as follows:

 

class-map match-all NBAR-TEST

  match protocol http url "*google*"

policy-map NBAR-TEST

  class NBAR-TEST

      drop

 

Router(config-if)# service-policy input NBAR-TEST

 

When I show policy-map interface type/num it shows that it isn't being matched and traffic is matched by default-class only.  What am I missing?

 

Any help is appreciated.

 

Troy

 


Viewing all articles
Browse latest Browse all 10672

Trending Articles