liveBook · Manning

Access control list

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

A standard access control list is an IPv4 access control list that filters traffic primarily by source IP address.

An access control list (ACL) is an ordered set of rules that filters packets at a router interface. A standard ACL matches packets primarily by source IPv4 address and permits or denies them. section 23.0 section 23.4

Understand ACL behavior in this order:

  • Process access control entries (ACEs) from top to bottom; stop at the first matching rule. section 23.1 section 23.4
  • Permit matching packets for forwarding and discard denied packets. section 23.1
  • Apply an implicit deny when no explicit ACE matches, so a final permit rule is important when other traffic should pass. section 23.4
  • Apply the ACL to an interface before it affects traffic; inbound evaluates packets entering, while outbound evaluates packets leaving. section 23.1.3 section 23.4
  • Place the ACL where the desired traffic actually enters or exits; an incorrectly directed ACL can be ineffective. section 23.1.3

Standard ACLs match only source IP addresses. They may be numbered or named: standard numbered ACLs use ranges 1–99 or 1300–1999, while named ACLs use descriptive identifiers. Configure ACEs in order, using wildcard masks for address matching, then apply the ACL with ip access-group. section 23.1.4 section 23.2.1 section 23.2.2

Blocking a department from a server LAN

To prevent accounting hosts in 192.168.2.0/24 from reaching Server LAN B, create a standard numbered ACL and apply it outbound on R2 G0/1: R2(config)# access-list 10 deny 192.168.2.0 0.0.0.255 R2(config)# access-list 10 permit any R2(config)# interface g0/1 R2(config-if)# ip access-group 10 out The first ACE blocks accounting traffic; permit any allows other sources. Verify the configuration with show access-lists or interface output. section 23.3

Figure 23.4 An outbound ACL on G0/2 filters packets as they exit the interface. Packet 1 from 192.168.1.2 is denied by ACE 1. Packet 2 from 192.168.2.99 is permitted by ACE 2. Packet 3 from 192.168.3.10 isn’t evaluated against the ACL because the packet enters G0/2; the ACL is applied outbound, not inbound.

Trace which packets an outbound ACL evaluates and which packets bypass it because they enter the interface. section 23.1.3

Table 23.1 ACL types (view table figure)

Numbered ACL

Named ACL

Standard ACL

Standard numbered ACL

Standard named ACL

Extended ACL

Extended numbered ACL

Extended named ACL

Compare standard and extended ACLs with numbered and named identification to distinguish the four CCNA-relevant combinations. section 23.1.4

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains first-match processing, implicit deny, directions, types, Cisco IOS configuration, application, and verification.
Examples
Demonstrates engineering and accounting restrictions, server-LAN protection, numbered and named ACLs, Cisco CLI, and Packet Tracer practice.
What it assumes
Assumes familiarity with IPv4 addressing and wildcard masks while teaching ACL logic from basic conditional behavior.
What you can do after
Configure and verify standard numbered or named ACLs on Cisco IOS interfaces.
How it connects
Connects packet filtering with source IP addresses, ACEs, wildcard masks, interfaces, implicit deny, and extended ACLs.

Also explained in

Compare how 8 books explain access control list →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.