Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Network ACL

Direct answer

An access control list is an ordered list of permit and deny lines applied to an interface in one direction. Each packet is compared from the top; the first matching line decides, and what matches nothing is denied.

When to use this

Use it when traffic is unexpectedly blocked or allowed, and when writing or editing a filter on a router or switch.

First 30 seconds

1. Network ACLs are stateless filters (router ACLs, cloud NACLs).

2. Order matters — first match.

3. Implicit deny at the end.

4. Return traffic must be permitted (stateless).

5. Apply close to the source.

Operational verification

packet → ACL entries top-down → permit/deny

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common interpretation traps
  • "The permit is in the list, so the traffic is allowed." A line above it may match first.
  • "There is no deny line, so nothing is denied." Everything not permitted is.
  • "I permitted the request, so the reply gets back." ACLs are stateless; the return direction needs its own permit where a list is applied.
  • "Inbound means into the network." It means into the interface, from the device's point of view.
  • "No hits on any line means the ACL is not the problem." The implicit deny has no counter; add deny ip any any log to see it.
  • "A mask of 255.255.255.0 works in an ACL." ACLs use wildcard masks: 0.0.0.255.
  • "Removing the ACL from the configuration removes the filter." The ip access-group on the interface must be removed as well.
Common traps

An ACL counter hit shows a matching packet reached that entry, but it does not show delivery, return traffic or application success.

Suspicious evidence: shadowed entry, wrong interface/direction, implicit deny surprise, IPv6 unfiltered, object expansion drift, fragment mismatch or counter from unrelated flow.

Platform / version applicability
Network security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork security · IOS/IOS XE
Scope / prerequisiteUse it when traffic is unexpectedly blocked or allowed, and when writing or editing a filter on a router or switch.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

packet tuple → attachment point/direction → ordered entries → first match/default → forwarding outcome → counter/log

Step 2 Operational verification Verify boundary

Ordered permit/deny rules, matching behavior, counters and evidence for network access-control decisions.

Fast verification

  • Verify ACL direction/interface and ordered match behavior before editing entries.

- Check hit counters with a controlled test and account for implicit deny/default action.

- Confirm wildcard/prefix semantics and the actual source/destination seen at the ACL boundary.

Step 3 Verification & troubleshooting Narrow the fault

Path: Security → Network Security → Network ACL. Local intent: A Network ACL is an ordered set of stateless or platform-defined traffic matches and permit/deny actions applied to a specific interface, direction, segment or resource boundary.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

First match wins. An invisible deny ip any any ends every list. ACLs are stateless: the return traffic needs its own permit where a list is applied. "In" and "out" are seen from the device. Wildcard masks are inverted: /24 is 0.0.0.255.

Key checks
  • show ip access-lists <name> — entries and hits
  • show ip interface <if> | include access list — where applied
  • aws ec2 describe-network-acls — cloud NACLs
ReferenceWhat it is2 sections · depth on demand

What it is

Rules and policy that decide which identities or traffic are allowed, denied or constrained.

Close with Use packet/session counters for the exact 5-tuple, verify the matched rule/action and translation, then confirm server response and reverse-path/session handling. and state what the evidence does not show.

Mental model

A network access control list (ACL) is an ordered list of permit and deny statements that a router or switch applies to packets on an interface, in one direction. Each packet is compared with the statements from the top, and the first one that matches decides.

ReferenceWhy it matters2 sections · depth on demand

When to use it

Use this Topic when the problem is in ACLs. Use Access Control when the problem concerns identity, authentication, certificates, access control, hardening, secure transport or security evidence.

Why it matters operationally

ACLs are the most basic packet filter and the easiest to get subtly wrong: a statement in the wrong order, a list applied in the wrong direction, or the invisible "deny everything" at the end. The counters on each line show precisely what the list did with real traffic, which makes ACL problems quick to settle once you look.

ReferenceHow it works1 section · depth on demand

How it works

Three rules explain most behaviour.

1. Top down, first match wins. Once a line matches, no later line is considered. A broad permit above a specific deny makes the deny useless.

2. Implicit deny. Every ACL ends with an unwritten deny ip any any. Anything not explicitly permitted is dropped — without a counter, unless you add the line yourself.

3. One list per interface, per direction, per protocol. In filters packets arriving on the interface; out filters packets leaving it. Directions are seen from the device.

Standard and extended. A standard ACL matches the source address only. An extended ACL matches protocol, source, destination and ports:

ip access-list extended WEB-IN
 permit tcp any host 192.0.2.10 eq 443
 permit icmp any any echo
 deny   ip any any log
interface GigabitEthernet0/1
 ip access-group WEB-IN in

Wildcard masks. Addresses are matched with inverted masks: 10.1.0.0 0.0.255.255 is 10.1.0.0/16. host 192.0.2.10 and any are shorthand for a single address and all addresses.

Stateless. An ACL judges each packet alone; it does not remember connections. If outbound traffic is permitted, the replies must be permitted by the list in the other direction too. established permits TCP packets that belong to an existing connection (ACK or RST set), which is an approximation of what a stateful firewall does.

What an interface ACL does not filter. An outbound ACL does not apply to packets the router itself generates. Access to the device (SSH) is better restricted with access-class on the vty lines.

Editing. Named and numbered lists have sequence numbers: insert with 15 permit …, remove with no 15. An ACL that is applied but does not exist permits everything; the moment its first line is created, the implicit deny takes effect.

Looking at it.

show access-lists
show ip interface GigabitEthernet0/1 | include access list

show access-lists shows each line with its match count. Send the traffic and see which counter moves; if none does, the packets do not arrive on that interface in that direction, or hit the implicit deny.

ReferenceImportant terms & boundaries1 section · depth on demand

What this shows and what it does not

An ACL counter hit shows a matching packet reached that entry, but it does not show delivery, return traffic or application success.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork security current

Authoritative/upstream documentation reviewed for bounded claims in Network Security → Network ACL. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/41/r1/final · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
network access listtraffic ACLpacket filter list
Embedded reference data

Quick lookup tables

Network Security → Network ACL proof map

Fast scope, effective-policy, runtime-evidence and closure boundaries for Network Security → Network ACL.

BoundaryEstablishDoes not establish
Scope and intentExact subjects, destinations, application, direction, trust zone and expected decisionDoes not prove effective path, identity, cryptography or enforcement
Effective control stateResolved rule/policy, session/SA, identity/posture, translation and selected pathObject/config presence does not prove a match or packet outcome
Runtime evidenceCorrelated client, authenticator/firewall/VPN, AAA and destination observations for one flow/timeA single log or success does not prove every packet, peer, path or failover state
ClosureOriginal allowed/denied operation behaves as intended and regression/failure tests passAdministrative commit or tunnel-up state alone is not closure
Confirmation

Confirm action

Continue?