Cisco ACL Practice

Practise reading and writing Cisco IOS access lists. Every ACL and packet is new, and Check names the exact slip, such as a forgotten implicit deny or a wildcard read as a subnet mask.

What does this ACL match?

R1 configuration
Packet

Result
Decided by

Write the ACL

Task

How the exam asks it

Three real exam questions on ACLs from our Cisco CCNA 200-301 and Cisco CCNP ENCOR 350-401 question banks. Each answer was checked with the trainer above.

How IOS checks an access list

  • Top down, first match wins. Entries are compared in order. The first entry a packet matches decides, and no later entries are considered.
  • Implicit deny. Every ACL ends with an unwritten deny, so a packet that matches no entry is dropped. A list needs at least one permit, or it blocks everything.
  • Wildcard masks. A 0 bit must match and a 1 bit is ignored. host 10.1.1.5 is the same as 10.1.1.5 0.0.0.0, and any is 0.0.0.0 255.255.255.255. To turn a subnet mask into a wildcard, use the wildcard mask calculator.
  • Standard or extended. A standard ACL (1 to 99, 1300 to 1999, or a name) checks the source address only. An extended ACL (100 to 199, 2000 to 2699, or a name) can check the protocol, source, destination and ports.
  • Ports. The operators are eq, neq, gt, lt and range. range includes both ends, and gt 1023 starts at 1024. A port test right after the source checks the source port; after the destination, the destination port.
  • In and out. An inbound ACL checks packets as they arrive on the interface, an outbound ACL checks packets routed out of it. One ACL fits per interface, per protocol and per direction, and an ACL does not filter traffic the router itself sends.

Where to place an ACL

Cisco's guide says to apply an ACL on the interface closest to the source of the traffic, so unwanted packets are dropped before they cross the network. That suits an extended ACL, which names the destination as well. A standard ACL sees only the source, so near the source it would cut that source off from every destination; that is why standard ACLs go close to the destination.

Related tools

The wildcard mask calculator shows which addresses an entry covers, and the subnet calculator and CIDR and VLSM calculator work out the blocks. For commands, see the Cisco IOS commands cheat sheet, or try the free CCNA 200-301 practice test.

Cisco ACL FAQ

What is the difference between a standard and an extended ACL?

A standard ACL checks only the source address of a packet. An extended ACL can also check the protocol, the destination address and the TCP or UDP ports.

What does the implicit deny do?

Every access list ends with an unwritten deny. A packet that matches none of the entries is dropped, so a list with only deny entries blocks all traffic.

Why does the order of ACL lines matter?

IOS checks the entries from the top and stops at the first one that matches. A broad permit above a narrow deny lets the denied traffic through, so put specific entries first.

What is the wildcard mask for a /26?

0.0.0.63. Flip every bit of the subnet mask 255.255.255.192, or subtract each octet from 255.

What do in and out mean on an interface?

An inbound ACL checks packets as they arrive on that interface. An outbound ACL checks packets after the router has routed them to that interface, just before they leave.

What happens if an applied ACL has no entries?

Cisco documents that an interface with an empty access list applied permits all traffic. Once the list has an entry, the implicit deny applies at its end.

Rules follow Cisco's Configure IP Access Lists (doc 23602), the IP Access List Overview and the IOS permit command reference, checked 19 November 2026. The trainer was tested on 56,475 generated cases against a separate Python reference.

More free tools

All free tools