NBAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 01:12 PM - edited 03-03-2019 10:13 PM
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
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 02:07 PM
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
