Courses3 levels
Level 1 · Foundations11 courses
Level 2 · Core5 courses
Level 3 · Advanced5 courses
Labs8 topics
Library Practice exams AI Range Pricing Start free

Practice library / Networking hands-on

Lab · Medium · 65 minutesFree account

Access Control Lists (ACLs)

Standard, extended, and named ACLs for network traffic filtering.

  • acl
  • cisco-ios
  • packet-tracer
  • traffic-filtering
  • ccna
On this page 9 sections
  1. 1ACL Concepts
  2. 2Standard ACLs
  3. Locked: Extended ACLs
  4. Locked: Named ACLs
  5. Locked: Applying ACLs to Interfaces
  6. Locked: ACL Placement Rules
  7. Locked: Verifying ACLs
  8. Locked: Common ACL Examples
  9. Locked: ACL Quick Reference

Before you start

An Access Control List (ACL) is a list of permit and deny rules that a router or switch applies to each packet. One loose rule opens a management interface to the whole internet or leaks a database port between VLANs, and both mistakes produce real breaches every year. The exercises here build standard, extended, and named ACLs on Cisco IOS, then verify each rule in Packet Tracer.

Lab Objectives

  • Understand how ACLs filter traffic using permit/deny rules
  • Configure numbered standard ACLs (1-99) to filter by source IP
  • Configure extended ACLs to filter by source, destination, port, and protocol
  • Apply ACLs to interfaces in the correct direction
  • Verify ACL matches with show commands

ACL = Traffic filter. Think of it as a bouncer at a nightclub — it checks every packet and either lets it through (permit) or blocks it (deny). There's always an invisible implicit "deny all" at the end of every ACL.

Step 1: ACL Concepts

# ACL rules are processed TOP to BOTTOM, FIRST MATCH WINS
# Order matters enormously!

# Example:
permit 192.168.1.0 0.0.0.255   → allows the whole /24
deny   192.168.1.10             → NEVER reached for .10 (already permitted above!)

# Correct order:
deny   192.168.1.10             → block this specific host
permit 192.168.1.0 0.0.0.255   → allow rest of /24

# Implicit deny at end:
# Every ACL ends with an invisible:
# deny any   (for standard) / deny ip any any (for extended)
# If no rule matches → packet DROPPED

# Two ACL types:
# Standard (1-99, 1300-1999)   → filter by SOURCE IP only
# Extended (100-199, 2000-2699) → filter by src, dst, protocol, port

Step 2: Standard ACLs

# Standard ACL — only checks source IP
# Number range: 1-99

# Block a single host
access-list 10 deny 192.168.1.10
access-list 10 permit any

# Block an entire subnet
access-list 11 deny 192.168.2.0 0.0.0.255
access-list 11 permit any

# Allow only one subnet, deny everything else
access-list 12 permit 10.0.0.0 0.0.0.255
# implicit deny any at end

# Wildcard shortcuts:
# host 192.168.1.1 = 192.168.1.1 0.0.0.0  (exact host)
# any             = 0.0.0.0 255.255.255.255 (all IPs)
access-list 13 deny host 192.168.1.5
access-list 13 permit any

Sign in to continue

7 more sections are for signed-in members. It is free: sign in with Google.

Related

This lab is extra practice for the course Networking hands-on. Do the lessons first.Open the course