cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
895
Views
10
Helpful
3
Replies

ACL or NBAR for classification and Marking

Ibrahim Jamil
Level 6
Level 6

Hi Guys

 

 I m bit confused  whether to use ACL or NBAR for classification and Marking  , pls clarify

 

thanks

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @Ibrahim Jamil ,

 

>> I m bit confused whether to use ACL or NBAR for classification and Marking , pls clarify

 

Actualy you can use both for different class maps that are then invoked in a policy-map applied inbound on the edge router.

 

To be noted:

use an extended ACL for all traffic with known ports like  TCP SMTP 25   https TCP 443 on server side.

 

Use NBAR using match protocol for all dynamic cases.

Use NBAR for example for fine tuning of web experience of employees like for example blocking access to social networks like facebook during office times or allowing it during lunch time

 

On ISR routers you can use a regular expression to match an URI and to allow or not allow some type of traffic.

In modular QoS you can use NBAR in order to limit the usage of social networks for employes working on site but most of the traffic is from the internet so a complete solution would require a "mirror" configuration on the ISP router.

 

Hope to help

Giuseppe

 

Joseph W. Doherty
Hall of Fame
Hall of Fame

As @Giuseppe Larosa already describes, you can use either or both, depends on what you're trying yo match on.

BTW, NBAR is sometimes just a "pretty face" on an ACL, sometimes it does much deeper packet inspection.  For example, an ACL ACE might match HTTP just looking for TCP port 80 whereas NBAR might actually look at packet's payload to see if it appears to have HTTP embedded within it.

Possible issues with NBAR, might be slower or more resource intensive (because/when doing deep a packet inspection) and/or might require an additional license (i.e. $$$).

Ibrahim Jamil
Level 6
Level 6

thanks Guys