Standard vs Extended ACLs: What Each One Can Match
This post explains the difference between standard and extended IPv4 Access Control Lists on Cisco routers. Standard ACLs match only source IP addresses, while extended ACLs can match source, destination, protocol, and port. Real IOS configuration examples and placement rules are included for CCNA
A standard ACL matches only the source address. An extended ACL can match source, destination, protocol and ports. Standard lists use 1-99 and 1300-1999 and go near the destination. Extended lists use 100-199 and 2000-2699 and go near the source.
Access Control Lists (ACLs) are one of the foundational security tools you will encounter on Cisco devices, and they are listed in the CCNA exam blueprint under item 5.6. Before you can write your first ACL, you need to understand the two main types: standard and extended. The difference comes down to what each type can actually inspect in a packet.
The Core Difference in One Sentence
Standard ACLs filter traffic based only on the source IP address. Extended ACLs can filter based on source IP, destination IP, protocol, and port numbers. That single distinction drives nearly every design decision you will make when deploying ACLs on a Cisco router.
Standard ACLs: Simple but Limited
A standard ACL looks at exactly one thing: where the packet is coming from. That is it. You cannot match a destination, a port number, or a protocol with a standard ACL.
Standard ACLs use numbers 1-99 and 1300-1999, or you can give them a name. Because they can only match source addresses, they are best placed close to the destination of the traffic you want to block. If you place them near the source, you risk blocking traffic that should be allowed to reach other parts of the network.
Here is a simple example. This ACL permits traffic from the 192.168.1.0/24 network and denies everything else:
Router(config)# access-list 10 permit 192.168.1.0 0.0.0.255
Router(config)# access-list 10 deny anyNotice the wildcard mask 0.0.0.255. Wildcard masks are the inverse of subnet masks, and they tell the router which bits to care about when matching. We will cover wildcard masks in detail in a dedicated post, but for now just understand that 0.0.0.255 means "match the first three octets exactly, ignore the last one."
Extended ACLs: Precise and Powerful
Extended ACLs give you much finer control. You can match on:
- Source IP address: where the packet originates
- Destination IP address: where the packet is headed
- Protocol:
tcp,udp,icmp,ip, and others - Source and destination port numbers: for example, port
80for HTTP or port22for SSH
Extended ACLs use numbers 100-199 and 2000-2699. Because they can match so specifically, you should place extended ACLs close to the source of the traffic. This stops unwanted packets early and reduces unnecessary load on the network.
Here is a practical example. This ACL permits web traffic (TCP port 80) from 192.168.1.0/24 destined for the server at 10.0.0.5, and denies everything else:
Router(config)# access-list 110 permit tcp 192.168.1.0 0.0.0.255 host 10.0.0.5 eq 80
Router(config)# access-list 110 deny ip any anyThe keyword host is shorthand for a wildcard mask of 0.0.0.0, meaning match that exact address. The keyword eq means "equal to" and is followed by the port number you want to match.
Side-by-Side Comparison
- Standard ACL (1-99): matches source IP only; place near the destination
- Extended ACL (100-199): matches source IP, destination IP, protocol, and ports; place near the source
- Named ACLs: both types can use names instead of numbers, which makes them easier to manage on real networks
A Quick Tip for the Exam
Placement rules are easy to get wrong. Remember this: standard near the destination, extended near the source. If you get that backwards, your ACL will either block traffic it should not, or fail to block traffic it should. Burn that rule into your memory before exam day.
Standard and extended ACLs: common questions
Can a standard ACL block one service, such as Telnet?
No. It sees only the source address. Matching a port needs an extended ACL.
Why does a standard ACL go near the destination?
It cannot match the destination. Near the source, it would stop that source from reaching everything.
Can a named ACL be standard or extended?
Yes. Use ip access-list standard NAME or ip access-list extended NAME.
What happens to traffic that matches no line?
It is dropped by the implicit deny at the end of the list.
What's Next
Now that you understand the difference between standard and extended ACLs, the next step is mastering wildcard masks. They control exactly which addresses your ACL matches, and getting them wrong means your ACL will not behave the way you expect. The next post in this series breaks down wildcard masks with clear examples so you can build ACLs with confidence.
Stuck on a step, or want to compare notes with other students? Ask in our free CCNA study group on Skool.
Tools and resources for this topic
- CCNA Official Cert Guide (Wendell Odom) โ The definitive CCNA study resource. Both volumes cover the 200-301 exam blueprint in full.
- Wendell Odom CCNA Vol 1 โ Covers networking fundamentals, switching, and routing basics.
- Wendell Odom CCNA Vol 2 โ Covers wireless LANs, ACLs, security, IP services, network architecture and automation.