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

TypeMatchesTypical use
StandardSource addressRestricting management access, route filtering
ExtendedSource, destination, protocol, portsInter-VLAN policy
MAC ACLMAC addresses, EtherTypeLayer 2 filtering
Management ACLWho may log in to the deviceProtecting 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.

Need help designing your network?

Navijin engineers provide free design consultations, bills of materials and quotations for business projects.