Standard IPv4 Access Control List (ACL) Configuration

M. Ichsanul Fadhil•November 21, 2026•11 min read

Filter network traffic with numbered and named standard IPv4 ACLs, restrict host reachability, and verify packet filtering rules on Cisco IOS routers.

build-standard-acl.simneta
Topology Preview

When an enterprise connects multiple branch offices to its corporate data center using dynamic routing, every device gains reachability by default. Client workstations can ping database records, financial spreadsheets, and payroll servers.

Open reachability quickly becomes a security hazard. A guest laptop or unauthorized intern in the sales department can browse internal server subnets without restriction.

To secure critical data, network engineers deploy Access Control Lists (ACLs). In this hands-on lab, we configure both numbered and named standard IPv4 ACLs on Cisco routers to filter traffic and protect our server farm.

Understanding Standard ACLs: The One-Eyed Security Guard

Think of a Standard Access Control List as a security guard who only checks the sender's return address on an envelope.

Standard ACLs (numbered 1–99 and 1300–1999) evaluate packets based solely on their Source IPv4 Address. They cannot inspect destination IP addresses, and they cannot tell whether a packet is a web request (TCP port 80), an SSH session (TCP port 22), or a ping message (ICMP).

Because a standard ACL only looks at who sent the packet, deciding where to place the filter is the most critical design rule in network security.

The Golden Placement Rule: Place Nearest to the Destination

Beginner engineers often make a serious mistake: they place a standard ACL close to the source host on router R1 to stop unwanted traffic as early as possible.

However, if you place a standard ACL on router R1 denying PC2 (172.16.1.2), you block PC2 from reaching everything across the WAN link—including safe backup servers (SRV2) and legitimate internet resources.

Standard ACL Placement Strategy Comparison

Figure 1. Standard ACL Optimal Placement: Close to Destination

As illustrated in Figure 1, the golden rule states: Place Standard ACLs as close to the destination as possible.

By applying the ACL outbound on router R2's GigabitEthernet0/0 interface, we filter traffic entering the server room for SRV1. PC2 is blocked from SRV1, but can still reach SRV2 or other branch offices without interruption.

How the Sequential Rule Engine Evaluates Packets

Cisco routers process access lists using a strict top-to-bottom, first-match decision process.

When a packet enters an inspected interface, the router tests it against line 1. If it matches, the router immediately executes the action (permit or drop) and exits the list. It never reads the lines below.

Top-to-Bottom Sequential Evaluation and Implicit Deny Trap

Figure 2. Sequential Rule Matching and the Invisible Implicit Deny

Notice the red barrier at the bottom of Figure 2: the Implicit Deny Any.

Every Cisco ACL ends with an invisible default drop rule. If you write an ACL with only deny statements and forget to add permit any at the end, the router silently drops all network traffic that was not explicitly allowed.

Decoding the Wildcard Mask

Unlike subnet masks, access lists use wildcard masks to define how many bits to match:

  • A wildcard bit of 0 means: "This bit must match exactly."
  • A wildcard bit of 255 means: "Ignore this byte completely."
Wildcard Mask Bitwise Evaluation Logic

Figure 3. Wildcard Mask Bitwise Evaluation: Host vs Subnet vs Any

As shown in Figure 3, Cisco IOS offers convenient shorthand keywords. Writing host 172.16.1.1 is shorthand for mask 0.0.0.0, and any is shorthand for 0.0.0.0 255.255.255.255.

Numbered vs Named Standard ACLs

Cisco routers support two formats for standard ACLs:

  • Numbered Standard ACLs (1–99): Traditional format configured using access-list 10 permit .... In older IOS versions, you cannot easily delete a single rule without deleting the entire list.
  • Named Standard ACLs: Modern format configured using ip access-list standard SECURE_SERVERS. This format uses sequence numbers (10, 20, 30), allowing engineers to insert or remove specific rules effortlessly.

The Addressing & Security Plan

Here is the addressing and role distribution for our multi-router security topology:

Device Interface IP Address Role & Security Policy
R1 Gi0/0 & Gi0/1 172.16.1.254 / 2.254 Branch Router (Numbered ACL Filter)
R2 Gi0/0 & Gi0/1 192.168.1.254 / 2.254 Data Center Router (Named ACL Filter)
PC1 / PC2 FastEthernet0 172.16.1.1 / 1.2 Authorized Admin (PC1) / Blocked Intern (PC2)
SRV1 FastEthernet0 192.168.1.100 Protected Database & Web Server
SRV2 FastEthernet0 192.168.2.100 Unrestricted General File Server

Step-by-Step Configuration on R1 and R2

Implement the standard access lists using the commands below:

1

Configure Numbered Standard ACL on R1

Block subnet 172.16.1.0/24 from reaching LAN 2 (172.16.2.0/24) while permitting all other branch traffic.

R1(config)# access-list 10 deny 172.16.1.0 0.0.0.255
R1(config)# access-list 10 permit any
R1(config)# interface GigabitEthernet0/1
R1(config-if)# ip access-group 10 out
2

Configure Named Standard ACL on R2

On router R2, create named ACL SECURE_SERVERS. Permit only authorized host PC1 (172.16.1.1) and PC3 (172.16.2.1) to reach server SRV1. Deny all other hosts.

R2(config)# ip access-list standard SECURE_SERVERS
R2(config-std-nacl)# permit host 172.16.1.1
R2(config-std-nacl)# permit host 172.16.2.1
R2(config-std-nacl)# deny any
R2(config-std-nacl)# exit
R2(config)# interface GigabitEthernet0/0
R2(config-if)# ip access-group SECURE_SERVERS out

Verification and Live Hit Counter Inspection

Once the filters are bound to the interfaces, test network connectivity with ping probes and inspect match counters on the router.

Cisco ACL Hit Counters and Verification

Figure 4. Real-Time ACL Hit Counter Tracking in Cisco IOS

From PC1 (172.16.1.1), ping SRV1 (192.168.1.100). The pings reply with 100% success.

From PC2 (172.16.1.2), attempt to ping SRV1. The ping fails immediately with Destination Host Unreachable (U.U.U).

To confirm that the router intercepted and dropped the unauthorized packets, inspect the rule hit counters on R2:

R2# show access-lists SECURE_SERVERS
Standard IP access list SECURE_SERVERS
    10 permit 172.16.1.1 (5 matches)
    20 permit 172.16.2.1
    30 deny   any (5 matches)

The hit counters confirm that legitimate traffic passed cleanly while unauthorized packets were dropped right at the interface boundary before ever reaching the server.

Discussion & Community Notes

Ask questions, share configuration solutions, or discuss this practice lab.

0 Comments
Posting as Guest • 1-level replies supported