Skip to content
CCNA 200-301 v1.1 reference — Security Fundamentals

Extended ACLs

Protocol, source, destination and port matching, named ACLs, direction and placement, and evidence-based verification.

Objective 5.6v1.1 exam target

Extended matching

Extended ACLs match protocol, source, destination and ports — the full 5-tuple. Numbered 100–199 and 2000–2699, or named. Because they can target precisely, place them close to the source to drop unwanted traffic early.

Extended ACL syntax

ElementExampleMeaning
Action + protocolpermit tcptcp, udp, icmp, ip, or a protocol number
Source192.168.10.0 0.0.0.255Wildcard, host, or any
Destinationhost 10.0.0.5Wildcard, host, or any
Port matcheq 443 / eq 80 / eq www (=80)Operator: eq, gt, lt, neq, range
EstablishedestablishedTCP only: match packets with ACK/RST set (return traffic)

Port operators apply to the preceding address: tcp any host 10.0.0.5 eq 443 means 'any source → 10.0.0.5 port 443'. Source ports are rarely matched in ACLs (clients use ephemeral ports) — match the destination port. established matches only packets with ACK or RST set — a flag check used to approximate return traffic; it does not inspect connection state, and ACL placement near source/destination is a design guideline, not a universal rule.

Protocol nuances

ProtocolMatching note
TCP/UDPPort operators available on source and destination
ICMPNo ports — match message types (echo, echo-reply, unreachable) or any
ipMatches all IP traffic — broadest option
OSPF/EIGRPTheir own protocol numbers (89/88) — routing traffic is not 'ip' exempt

Configuration

Extended ACL

Allow web and DNS from the LAN, deny everything else to the server subnet — Privileged EXEC → Global + interface configuration

Cisco IOS / IOS XE

configure terminal
ip access-list extended LAN-TO-SERVERS
 permit tcp 192.168.10.0 0.0.0.255 10.0.0.0 0.0.0.255 eq 443
 permit tcp 192.168.10.0 0.0.0.255 10.0.0.0 0.0.0.255 eq 80
 permit udp 192.168.10.0 0.0.0.255 host 10.0.0.53 eq domain
 deny ip any any log
 exit
interface gigabitethernet0/2
 ip access-group LAN-TO-SERVERS in
 end
Verify
show access-lists LAN-TO-SERVERS
  • Match counters confirm which rules carry traffic.
  • The logged deny reveals what the implicit deny would hide.

Changes device configuration.

Predict the evaluation
Rules
10 permit tcp 192.168.10.0 0.0.0.255 host 10.0.0.5 eq 443 20 deny ip any any
Packets
A: 192.168.10.5→10.0.0.5:443; B: 192.168.10.5→10.0.0.5:22; C: 10.9.9.9→10.0.0.5:443
  1. A matches rule 10 → permitted.
  2. B fails rule 10 (wrong port) → hits rule 20 → denied.
  3. C fails rule 10's source wildcard → denied by rule 20.

Every element of a rule must match — source, destination, protocol AND port.

Verification

Common mistakes

  • Applying the port operator to the wrong side — eq 443 after the source matches the source port, not the destination's.
  • Using established expecting real statefulness — it's a flag check, not connection tracking.
  • Blocking ICMP entirely — path MTU and ping diagnostics break.
  • Placing the extended ACL near the destination — wasted bandwidth carrying doomed traffic.
  • Forgetting the implicit deny — same as standard ACLs.
Web access blocked after ACL deployment

Observation: Users can't reach https sites since the new ACL was applied inbound on the LAN interface.

Hypotheses
  • Return traffic blocked — permit matched outbound only
  • Rule order — a deny precedes the web permit
  • Wildcard covers the wrong range
CheckIndicates
show access-lists countersWhich line increments — the real evaluation path.
Is the filter applied on the wrong direction?An inbound ACL on the LAN only sees packets entering the router — replies exit that interface and are not evaluated by it; any reverse-path filter must be defined separately.
Return-path filtering elsewhereIf replies fail, the block is on the exit path or a separate inbound filter on the far interface — not this LAN-inbound ACL.

Correction: Reorder rules or add the return-traffic path (established/reflexive/firewall feature).

Permit counters rise on both directions and sessions complete.

On this page

Related resources

Sources

Targets CCNA 200-301 v1.1 objectives. Supplemental blocks are labeled beyond exam scope.

Search guided lessons, transcript chapters, flashcards, CLI drills and cheat sheets

Extended ACLs | CCNA Study