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 →Will My Network Keep Working if Cloud Management Goes Down?
Cloud management is convenient, but the network must not depend on it. What should keep working during a cloud outage, what pauses, and what to check when you choose equipment.
Read more →NOC vs SOC: What Is the Difference and Do You Need Both?
A NOC keeps the network running; a SOC keeps attackers out. Compare their goals, tools, alerts and metrics, and see how small and mid-size organisations can combine them.
Read more →The CIA Triad in Practice: Confidentiality, Integrity and Availability on Real Networks
Confidentiality, integrity and availability are the base of information security. See what each one means for switches, Wi-Fi, gateways and cameras, with practical controls for each.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.