cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
420
Views
0
Helpful
1
Replies

NBAR

dathaide
Level 1
Level 1

Can i use nbar to match replies from a webserver on an inbound or does it have to be only outbound

eg.

R3--Internet

match protocol host yahoo.com-- service policy applied inbound on R3

Thanks

1 Reply 1

francisco_1
Level 7
Level 7

as far as i know i dont see why you cannot apply it outbound. outbound is traffic leaving your router so it makes sense to apply it ourbound.

forexample, below is an example policy-map that matches the yahoo.com class and drops the traffic. Lastly the policy is applied outbound to the Internet.

R1#

class-map match-all yahoo

match protocol http host "*yahoo.com*"

!

policy-map DROP_yahoo

class yahoo

drop

!

interface FastEthernet0/0

description TO INTERNET

service-policy output DROP_yahoo

Review Cisco Networking for a $25 gift card