Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Verification · ACL

Direct answer

Verifying an ACL means proving it is applied where intended and that test traffic hits the expected entries — not just reading the configuration.

When to use this

Use it after every ACL change, and when someone says "the firewall blocks it".

First 30 seconds

1. show ip interface <if> | include access list — applied and direction.

2. clear access-list counters <name>.

3. Generate the test flow (ping, telnet <ip> <port>, application).

4. show access-lists <name> — the expected entry counted?

5. Nothing counted → traffic does not pass that interface or direction.

Operational verification

ACL applied on the right interface and direction → packet compared top-down → first matching entry decides → no match = implicit deny → counter increments on the matching entry

Evidence · next step

Confirm attachment/direction; if permit is proven, continue to route/NAT/return path/service.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
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.

PlatformCisco IOS / IOS XE · IOS/IOS XE · Cisco IOS XE
Key commandshow access-lists [name|number]
Scope / prerequisiteUse it after every ACL change, and when someone says "the firewall blocks it".
Show · 4Reference · 1
What next?3 suggested next steps
Catalog command links5
Evidence4
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show access-lists [name|number]

Look first: ACE order, match counters, implicit deny context

Healthy: Expected ACE matches traffic and counters move during controlled test.

Warning: Earlier shadowing ACE, no counter movement or unexpected deny.

Does not prove: Counter movement proves matching, not that ACL is the root cause.

show access-lists

Look first: ACE order, match counters, implicit deny context

Healthy: Expected ACE matches traffic and counters move during controlled test.

Warning: Earlier shadowing ACE, no counter movement or unexpected deny.

Does not prove: Counter movement proves matching, not that ACL is the root cause.

Operational workflow

Verification & Troubleshooting

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

6 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 First 30 seconds Verify boundary

Immediate answer: Correlate the intended packet tuple with ACE order/counters and the exact interface/direction attachment before editing the ACL.

Verification chain: packet tuple → applied interface/direction → ACL sequence → ACE match/counter → permit/deny → downstream/return path

Stop condition: ACL content alone does not show attachment, direction or which ACE matched the failing flow.

Step 2 Known-good, broken and proof-boundary verification Verify boundary

Known-good ACL state is the intended ACL attached at the intended boundary, the correct ACE counter increasing for the controlled flow, unrelated ACEs remaining stable and the original workload producing the expected permit/deny result. Broken state includes wrong direction, shadowed ACE, wrong tuple after NAT or unexpected implicit deny. A matching ACL counter shows that packet reached and matched that ACE, but it does not show later forwarding or application success, which is the limit of what it shows.

Step 3 Verification and output interpretation Verify boundary

Inspect the ACL and attachments, record counters, create or observe a representative flow, and record counters again. Confirm the packet's source/destination/protocol/ports and the route/interface direction. A counter delta on a deny localizes the enforcement decision; a permit delta only clears the ACL stage and should be followed by route/neighbor/return-path evidence if the service still fails.

Step 4 Step-by-step troubleshooting Narrow the fault

Boundary rule: ACL content alone does not show attachment, direction or which ACE matched the failing flow.

Step 5 Evidence-first workflow Narrow the fault

Counter rises on intended ACE: the tested traffic is reaching and matching that ACE; compare permit/deny with intent, then move downstream if permitted.

Counter rises on an earlier unexpected ACE: ordering/shadowing is the immediate policy boundary.

No relevant counter changes: show interface/feature attachment, direction and packet path before editing the ACL.

ACL permits but service fails: move to routing, NAT, firewall/stateful policy, return path, transport and application evidence.

Step 6 Failure isolation: observation → implication → next check Narrow the fault

If an intended permit/deny counter remains zero, verify the ACL is attached to the correct interface/direction and inspect the packet tuple at that point. If a broader earlier ACE increments, rule order is the failing step. If counters increment as expected but traffic still fails, move to routing/NAT/return path rather than editing the ACL. If an implicit deny is suspected, create evidence with a controlled flow and existing logging/counters before adding a broad permit. Keep source, destination and protocol fixed.

Evidence references

Evidence · 4 on this Topic

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

command output · 3observation · 1
Command lookup Jump straight to Cisco syntax
Key points

Counters are the evidence: reset them, generate one known flow, read which entry counted. log on an entry shows matches in the log but costs CPU — use it briefly. Unused entries over weeks are candidates for removal.

Key checks
  • show access-lists <name> — entries in order with match counters.
  • show ip interface <if> | include access list — ACLs applied inbound and outbound.
  • show running-config | section access-list — the ACL as configured.
  • show ipv6 access-list <name> — IPv6 ACL entries and counters.
  • clear access-list counters <name> — reset counters before a test.
ReferenceWhat it is1 section · depth on demand

What it is

ACL verification combines the configured ACE order with match counters and the actual attachment/direction. show access-lists, show ip access-lists and show ipv6 access-list expose ACL definitions and counters on supported IOS / IOS XE releases.

ReferenceHow it works1 section · depth on demand

Mechanics, state owner and dependency boundary

ACL behavior depends on rule order, direction, interface/feature attachment and the packet tuple seen at that boundary. An ACL definition is inert until referenced, and counters reflect only traffic that reaches and matches a line. NAT, routing, control-plane versus data-plane placement and IPv4/IPv6 family can change the tuple or path before evaluation. Therefore configuration text, attachment and hit counters are separate state owners.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

Verifying ACLs: configuration, attachment, counters and hardware

An ACL can be correct on paper and still not do what you expect. Check its content, where it is attached, and what the hardware actually counts.

What the Catalyst 9300 guide says about counters

The IPv4 ACL guide notes that show ip access-lists shows match counts that don't include hardware-switched packets. On Catalyst 9300 most traffic is switched in hardware, so use show platform software fed switch {num|active|standby} acl counters hardware for hardware counters. The guide also states that ACLs are enforced in hardware, and that exhausted TCAM can lead to dropped traffic on affected VLANs.

C9300# show ip access-lists USERS-IN
Extended IP access list USERS-IN
    10 permit udp 10.20.0.0 0.0.0.255 host 10.10.50.10 eq domain
    40 deny ip 10.20.0.0 0.0.0.255 10.10.0.0 0.0.255.255 log (318 matches)
C9300# show ip interface Vlan20 | include access list
  Inbound  access list is USERS-IN
C9300# show platform software fed switch active acl counters hardware | include Drop|Deny
  Ingress IPv4 Forward             (0x12000003):     9182331 frames
  Ingress IPv4 PACL Drop           (0x01000005):        3112 frames
  Ingress IPv4 RACL Drop           (0x0b000005):      812234 frames
C9300# show platform hardware fed switch active fwd-asic resource tcam utilization
C9300# show logging | include IPACCESSLOG
%SEC-6-IPACCESSLOGP: list USERS-IN denied tcp 10.20.0.25(51332) -> 10.10.20.15(445), 12 packets

Verification steps

StepCommand
ACL content and ordershow ip access-lists <name>
Attached to the right interface and directionshow ip interface <id> \| include access list, show running-config interface <id>
Hardware drops by ACL typeshow platform software fed switch active acl counters hardware
TCAM resourcesshow platform hardware fed switch active fwd-asic resource tcam utilization
Logged deniesshow logging \| include IPACCESSLOG

When traffic is blocked unexpectedly

CheckTypical finding
Implicit deny at the endReturn traffic or DHCP/routing protocols not permitted
Order of entriesA broad deny before a specific permit
Several ACL types on the pathA PACL or VLAN map blocks before the RACL is evaluated
Wrong directionACL applied out when in was intended
TCAM exhaustionSyslog messages about ACL programming failures

When traffic passes unexpectedly

An undefined ACL applied to an interface permits all traffic, according to the guide. A typo in the ACL name on ip access-group therefore removes the filtering silently. Check that show ip access-lists <name> actually returns the ACL you think is applied.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

ACL verification proves the ACL is applied, matches as intended and does not block legitimate traffic.

1. show ip interface <if> — which ACL is applied in which direction.

2. show access-lists <name> — hit counters per entry.

3. Clear counters, generate test traffic, and see which entry matches.

4. Add log to a deny entry temporarily to see what is dropped.

5. Test from the real source, not from the router itself.

ObservationMeaning
No hits anywhereACL not applied or wrong direction
Hits on a broad denyMissing permit above it
Permit hits but traffic failsProblem elsewhere (return path, routing)
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and technical mechanics

A complete ACL check has three objects: the policy definition, the enforcement attachment and the actual packet tuple/path. First-match semantics mean the intended ACE may never be reached if an earlier rule matches. Attachments determine whether the ACL is active for the flow, while routing/NAT determine what addresses and direction appear at that point. Counters add runtime evidence, but they are meaningful only when mapped to a specific ACE and time window. An ACL is an ordered packet-classification policy.

Limits and common misconceptions

A zero counter is not evidence an ACE is unused; traffic may not have occurred during the window, may take another path or may match an earlier rule. High counters do not show the rule is correct—they can expose an overly broad match. ACL verification should establish behavior at one policy boundary, not label the entire application path healthy or broken.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Preserve sequence numbers/remarks and use a planned traffic matrix so verification has expected permit and deny cases. Before editing a live ACL, identify every place the object is referenced to avoid unintended shared impact. For management ACLs, keep a recovery session. For transit ACLs, prefer controlled representative traffic and existing counters over generating disruptive test patterns. Design ACLs from explicit traffic intent.

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 docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · 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.
Embedded reference data

Quick lookup tables

ACL troubleshooting flow

Use counter deltas only after path/attachment are known

StepEvidence
1Exact protocol/source/destination/ports
2Interface/VTY/feature attachment
3Direction
4Full ordered ACL
5Baseline counters
6One controlled test
7Counter delta / first matching ACE
8Downstream route/NAT/service if permitted

Verification · technical reference

Compact network access/security mechanics, policy and evidence boundaries for fast lookup.

Verification stepEvidence
DefinitionACE order and implicit deny
AttachmentInterface/line/feature + direction
RuntimeCounter delta for known tuple
Next layerRouting/return path/application
Confirmation

Confirm action

Continue?