Security · 5 min read · 19 November 2026
What Is an Access Control List (ACL) in Networking?
Network access control lists explained: how ACLs filter traffic on switches and routers, standard vs extended ACLs, inbound vs outbound, ACLs vs firewalls, and best practices.
An access control list (ACL) is an ordered list of rules on a switch or router that permits or denies traffic based on addresses, protocols and ports. ACLs are the simplest way to control which networks can talk to each other, directly in the network hardware.
How ACLs work
- Rules are checked from top to bottom; the first match decides.
- There is an implicit "deny all" at the end.
- An ACL does nothing until it is applied to an interface, in a direction (inbound or outbound).
Types of ACL
| Type | Matches | Typical use |
|---|---|---|
| Standard | Source address | Restricting management access, route filtering |
| Extended | Source, destination, protocol, ports | Inter-VLAN policy |
| MAC ACL | MAC addresses, EtherType | Layer 2 filtering |
| Management ACL | Who may log in to the device | Protecting SSH, web and SNMP access |
ACL vs firewall
ACLs on switches are fast and usually stateless: they check each packet on its own, so return traffic must be allowed explicitly. Firewalls track sessions, understand applications and users, and log in detail. Use switch ACLs for simple, high-speed inter-VLAN rules and firewalls for the internet edge and sensitive zones.
Best practices
- Write the policy in plain language first.
- Put specific rules before general ones and end with a logged deny.
- Name ACLs and comment each line.
- Apply changes with a rollback plan so you don't lock yourself out.
Hands-on: write ACLs on a Layer 3 switch.
FAQ
Frequently asked questions
Inbound or outbound?
Inbound filters traffic as it enters the interface, before routing; it is usually more efficient and easier to reason about.
Do ACLs slow the switch down?
On most switches ACLs run in hardware at full speed, within the device's rule capacity.
What is the implicit deny?
Traffic that matches no rule is dropped, so every allowed flow must be permitted explicitly.
Related
Keep reading
Write ACLs on a Layer 3 switch
Read more →What is a firewall?
Read more →Network segmentation
Read more →Private 5G vs Wi-Fi for Enterprises: Which Wireless Technology Fits?
Compare private cellular networks and enterprise Wi-Fi for factories, ports, campuses and warehouses: coverage, mobility, device support, spectrum, cost and when to combine both.
Read more →What Is Port Security on a Switch? Stop Unknown Devices From Connecting
Switch port security explained: limiting MAC addresses per port, sticky learning, violation modes (protect, restrict, shutdown), when to use it and how it compares with 802.1X.
Read more →Warehouse and Logistics Network Design: Scanners, Cameras and Automation
How to design networks for warehouses and logistics centres: Wi-Fi for scanners and vehicles, outdoor yards and docks, CCTV, industrial switches for automation, and resilience.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.