Use it to restrict VTY access, select traffic for NAT or route filtering, or filter close to the destination.
Standard IPv4 ACL
A standard IPv4 ACL (numbers 1–99 and 1300–1999, or ip access-list standard <name>) matches only the source IP address.
1. show access-lists <name> — source entries and counters.
2. Wildcard right? 0.0.0.255 matches a /24, 0.0.0.0 one host.
3. Applied near the destination? show ip interface <if> | include access list.
4. Missing final permit any when only some sources should be blocked?
5. Test and read the counters.
ACL applied on the right interface and direction → packet compared top-down → first matching entry decides → no match = implicit deny → counter increments on the matching entry
Compare intended destination scope and consider a more precise extended policy only if required.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
access-list <1-99> permit <source> <wildcard>Primary Commands
Configuration and operational commands for this Topic.
access-list <1-99> permit <source> <wildcard>ReferenceAdd a permit entry to a numbered standard IPv4 ACL (matches source address only).
Use when: Permit a source/subnet in a numbered Standard IPv4 ACL.
Quick note: Check full ACL order, attachment/direction and a controlled counter delta.
Cisco IOS / IOS XE · mixedaccess-list <1-99> deny <source> <wildcard>ReferenceAdd a deny entry to a numbered standard IPv4 ACL (matches source address only).
Use when: Deny a source/subnet in a numbered Standard IPv4 ACL.
Quick note: Verify expected source match and downstream destinations affected.
Cisco IOS / IOS XE · mixedip access-list standard <name>ReferenceCreate a named standard IPv4 ACL.
Use when: Create or edit a named Standard IPv4 ACL.
Quick note: Use show access-lists / show ip access-lists plus attachment evidence.
permit <source> <wildcard>ReferenceAdd a permit entry to a named standard IPv4 ACL.
Use when: Add a permit ACE inside a named Standard IPv4 ACL.
Quick note: Verify order and counter delta for a controlled source.
Cisco IOS / IOS XE · mixeddeny <source> <wildcard>ReferenceAdd a deny entry to a named standard IPv4 ACL.
Use when: Add a deny ACE inside a named Standard IPv4 ACL.
Quick note: Verify first-match order and counters.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Primary bounded procedure: Use show access-lists, identify the exact attached ACL/direction, generate one controlled test and confirm the intended ACE counter changes.
Step 2 Verification and output interpretation Verify boundary
Verify the ACL entries, attachment and direction, then send/observe traffic from source addresses that should match both permit and deny paths. Inspect ACE counters and confirm the packet reaches the interface in that direction. If a source is permitted by the ACL but traffic still fails, continue with routing/neighbor/return-path evidence rather than changing the ACL without a matching deny/counter fact. Verify both policy definition and policy attachment. Inspect ACE order and counters, confirm the correct ACL is applied to the expected interface/line/feature and direction, and compare the actual traffic tuple to the rule as the device sees it at that point. Counter increments are strong evidence that packets match an ACE, but hardware offload, sampling intervals and counter resets can affect what is visible. A zero counter is ambiguous until traffic generation, direction, address translation and attachment are independently confirmed.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Because only the source is checked, place standard ACLs close to the destination so they do not block traffic to other places. host 10.1.1.1 is the same as 10.1.1.1 0.0.0.0; any is 0.0.0.0 255.255.255.255.
show access-lists <name>— entries in order with match counters.show ip interface <if> | include access list— ACLs applied inbound and outbound.show running-config | section access-list— the ACL as configured.show ipv6 access-list <name>— IPv6 ACL entries and counters.clear access-list counters <name>— reset counters before a test.
ReferenceWhat it is1 section · depth on demand
What it is
A Standard IPv4 ACL matches the source IPv4 address. It does not directly distinguish destination networks, IP protocols or transport ports, so one permit/deny can affect that source toward many destinations wherever the ACL is attached.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Use a Standard IPv4 ACL when source identity alone is sufficient for the policy or classification. Because the match is broad, place and attach it deliberately so unrelated destinations are not filtered unintentionally.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Standard ACLs match the source address only
The Catalyst 9300 IPv4 ACL guide states that standard ACLs match source addresses only, that numbered standard ACLs use 1–99 and 1300–1999, and that named ACLs (ip access-list standard <name>) let you delete individual entries. Matching stops at the first matching entry. If nothing matches, the implicit deny at the end drops the packet. The guide also notes that standard ACL entries are reordered so that host and zero-wildcard entries come first.
C9300(config)# ip access-list standard MGMT-HOSTS
C9300(config-std-nacl)# 10 permit 10.10.50.0 0.0.0.255
C9300(config-std-nacl)# 20 permit host 10.10.1.50
C9300(config-std-nacl)# 30 deny any log
C9300# show ip access-lists MGMT-HOSTS
Standard IP access list MGMT-HOSTS
20 permit 10.10.1.50 (12 matches)
10 permit 10.10.50.0, wildcard bits 0.0.0.255 (431 matches)
30 deny any log (7 matches)
Entry 20 (a host) is listed before entry 10, because of the reordering.
Where standard ACLs fit
| Use | Example |
|---|---|
| Restrict management access | access-class on VTY lines |
| SNMP community or group restriction | snmp-server community ... ro MGMT-HOSTS |
| Route filtering and NAT | ip nat inside source list, distribute lists |
| Traffic filtering on interfaces | Possible, but only by source; place close to the destination |
Wildcard masks
| Wildcard | Matches |
|---|---|
0.0.0.0 (or host) | Exactly one address |
| 0.0.0.255 | A /24 |
| 0.0.255.255 | A /16 |
255.255.255.255 (or any) | Everything |
Practice
- Use named ACLs with sequence numbers, so you can insert and remove single entries.
- End with an explicit
deny any logwhen you want to see what is denied (and the guide notes thatlogsends packets to the CPU, where they can be rate-limited). - Remember the implicit deny: an ACL that only permits one host denies everything else.
Documented example, not captured output.
Quick reference
A standard IPv4 ACL matches only the source address. Because it cannot distinguish destinations, it is usually applied close to the destination, or used for VTY access, SNMP and NAT selection.
ip access-list standard MGMT-ONLY
permit 10.0.100.0 0.0.0.255
deny any log
line vty 0 15
access-class MGMT-ONLY in
Documented example, not captured output.
Wildcard masks are inverted subnet masks: 0.0.0.255 matches any value in the last octet.
State model and technical mechanics
A standard ACL ACE matches a source address using host/any/wildcard semantics and applies permit or deny. Because destination and protocol/ports are not part of the match, a permit/deny affects all IPv4 traffic from that source that reaches the attachment point. This broad classification explains the conventional placement guidance: place standard ACLs where their limited match scope does not unintentionally block the same source from reaching unrelated destinations. Numbered and named forms differ in configuration ergonomics, not in the core source-address match model. An ACL is an ordered packet-classification policy. Entries are evaluated from top to bottom and the first matching ACE determines the ACL action; traffic that matches no explicit permit encounters an implicit deny at the end. The effective behavior therefore depends on the packet tuple, ACE order, wildcard/prefix semantics, protocol/port fields and the interface or management feature where the ACL is attached. The ACL object existing in configuration is only policy definition; enforcement begins at the attachment point and direction where packets actually traverse it.
Limits and common misconceptions
A standard ACL is not suitable when policy must distinguish destination or service. A permit does not create stateful return permission and a deny does not explain why the source sent the packet. Counter values are cumulative and can include unrelated flows from the same source range. Keep source-match logic, placement, route path and application behavior distinct. An ACL permit shows only that the ACL did not block the matching packet at that enforcement point. It does not show route resolution, neighbor resolution, return traffic, stateful session establishment or application health. An ACL deny counter shows classification and discard for matching packets, not the upstream reason those packets were sent. Treat ACE logic, attachment/direction, routing/NAT context and application behavior as separate layers. For active faults, provide the ACL, attachment, packet tuple and relevant counters to ChatGPT rather than turning the reference page into a decision engine.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Express source intent narrowly, use sequence numbers/remarks for maintainability and account for the implicit deny. Choose an attachment point near the destination side when that placement best limits the broad source-only action, but base the decision on actual topology rather than a memorized slogan. Review NAT/routing context so the source address at the enforcement point is the one the ACL is intended to match. Design ACLs from explicit traffic intent. State the source, destination, protocol and service that must be permitted or denied, place broad entries only where they cannot shadow specific ones, and use sequence numbers/remarks so later Round-trip maintenance can preserve intent. Choose the attachment point and direction based on where the packet tuple has the expected addresses, especially around NAT or routed boundaries. Keep management-plane ACLs separate from transit filtering and avoid using an ACL as a substitute for stateful inspection when return-session awareness is a requirement.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security → ACL → Standard IPv4 ACL. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc791.html · confidence 94%Quick lookup tables
Common IPv4 wildcard masks
Fast contiguous-mask conversions for ACL matching
| Prefix | Subnet mask | Wildcard |
|---|---|---|
| /32 | 255.255.255.255 | 0.0.0.0 |
| /30 | 255.255.255.252 | 0.0.0.3 |
| /29 | 255.255.255.248 | 0.0.0.7 |
| /28 | 255.255.255.240 | 0.0.0.15 |
| /27 | 255.255.255.224 | 0.0.0.31 |
| /26 | 255.255.255.192 | 0.0.0.63 |
| /25 | 255.255.255.128 | 0.0.0.127 |
| /24 | 255.255.255.0 | 0.0.0.255 |
| /16 | 255.255.0.0 | 0.0.255.255 |
| /8 | 255.0.0.0 | 0.255.255.255 |
Standard IPv4 ACL · technical reference
Compact network access/security mechanics, policy and evidence boundaries for fast lookup.
| Property | Standard IPv4 ACL |
|---|---|
| Primary match | Source IPv4 address |
| Destination/service | Not distinguished |
| End behavior | Implicit deny |
| Design implication | Placement must limit broad effect |
Deep reference
Additional depth
Wildcard-mask matching
In an IPv4 ACL wildcard mask, a 0 bit must match and a 1 bit is ignored. For contiguous network masks, the wildcard is commonly the bitwise inverse: /24 mask 255.255.255.0 corresponds to wildcard 0.0.0.255; /32 corresponds to 0.0.0.0.