Menu

IPv4 ACL Order and Placement Without Guesswork

Understand IPv4 ACL first-match processing, implicit deny, interface direction, placement, and the commands used to verify the result.

Most ACL mistakes are not syntax mistakes. They come from evaluating the packet in the wrong order, on the wrong interface, or in the wrong direction.

1. IOS stops at the first matching ACE

An access control entry is evaluated from top to bottom. When a packet matches one entry, IOS applies that permit or deny action and stops evaluating the list. Therefore, a broad entry placed too early can make every more-specific entry below it unreachable.

ip access-list extended WEB-IN
 10 permit tcp 10.10.10.0 0.0.0.255 host 192.0.2.20 eq 443
 20 deny ip 10.10.10.0 0.0.0.255 any
 30 permit ip any any

HTTPS traffic to the server matches sequence 10. Other traffic from the source subnet matches sequence 20. Sequence 30 only processes packets that did not match either earlier entry.

2. Remember the implicit deny

Every IPv4 ACL ends with an implicit deny any or deny ip any any. It is not displayed as a configured line, but packets that reach it are discarded. Add an explicit final permit only when the security policy actually requires all remaining traffic to pass.

3. Determine direction from the router's perspective

Inbound

The packet enters the router through the interface before the routing decision.

Outbound

The packet has already been routed and is about to leave through the interface.

Trace one packet from source to destination. Name the interface where it enters and the interface where it exits. Only then choose in or out.

4. Use this verification sequence

  1. Read the ACL and its sequence: show access-lists.
  2. Confirm the exact interface and direction: show ip interface.
  3. Generate representative permitted and denied traffic.
  4. Read match counters again and confirm the intended ACE increments.
  5. If the policy is wrong, remove or resequence the erroneous ACE before retesting.

Official source

Questions created and reviewed by a CCNA-certified practitioner.

Original content is mapped to Cisco's published CCNA 200-301 exam topics. Every published item is checked for technical accuracy, answer logic, explanations, and similarity risk.

  • BlueprintOfficial topic coverage
  • ExplanationsAnswer and distractor feedback
  • Review statusUpdated August 2026

Turn the concept into focused CCNA practice.

Create a free account to answer reviewed questions and see complete corrections.

Create Free Account