02-18-2022 04:23 AM
Hi Guys
I m bit confused whether to use ACL or NBAR for classification and Marking , pls clarify
thanks
02-18-2022 04:53 AM
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
02-18-2022 10:39 AM - edited 02-18-2022 10:39 AM
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. $$$).
02-19-2022 03:59 AM
thanks Guys
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