Cisco ACL Builder & Analyzer
Build Cisco IOS-XE extended ACLs with wildcard masks and port operators, analyze pasted ACLs for shadowed, redundant, and conflicting rules, and test packets — all in your browser.
Cisco ACL Builder & Analyzer
No rules yet. Add a permit or deny rule, or a remark, to start building the ACL.
Generated CLI
Sequence numbers are assigned automatically in rule order (10, 20, 30, …).CLI generation is blocked until every rule is valid.
- Add at least one rule before generating CLI.
About the implicit deny
Cisco ACLs end with an invisible deny ip any any. Traffic no rule permits is dropped. This generator does not add an explicit deny unless you add one as a rule, which is the usual way to log denied traffic or make the policy visible.
How to use the builder
Give the ACL a name, add permit and deny rules, and the CLI appears as you type. Sequence numbers are assigned automatically in rule order. Generation is blocked while any rule has invalid fields, and the generated CLI is re-parsed with the same engine the analyzer uses, so a green round-trip check means the output matches what Cisco IOS expects for the supported syntax.
Rule ordering and the implicit deny
IOS evaluates extended ACL entries in sequence order and stops at the first match. A narrow permit placed before a broad deny is the standard exception pattern and is not an error. Because of the implicit deny at the end of every ACL, a list of only permit rules already denies everything else — an explicit 'deny ip any any' at the end changes nothing unless you want logging or a visible policy statement.
Wildcard masks
A wildcard mask says which bits of the address must match: 0 means the bit must match, 255 (or any nonzero octet value) means the bit can be anything. '10.10.10.0 0.0.0.255' matches the /24, '10.10.4.0 0.0.3.255' matches a /22-sized range, and noncontiguous masks such as '0.0.255.0' match on a bitwise basis rather than as a subnet. The analyzer never assumes a wildcard is a prefix mask.
Shadowing and redundancy
The analyzer uses first-match semantics to prove which rules can never match. It distinguishes confirmed shadowing (provable from the pasted text) from potential overlaps (shared traffic where order may still matter). A broader rule following a narrower exception is ordinary policy, not an error, and is not flagged as one.
Worked examples
- Fully shadowed permit: 'deny ip any any' followed by 'permit tcp any host 10.20.20.10 eq 443' — the permit is unreachable (ACL-SHD-002, conflicting action).
- Valid exception: a host-specific permit before 'deny ip any any' — reachable, no findings.
- Partial shadowing: a /24 deny before a broader permit — the permit still matches traffic outside the /24.
- Noncontiguous wildcard: '10.10.0.0 0.0.255.0' — matched bitwise, not as a CIDR block.
Limitations and unsupported syntax
The tool supports named and numbered extended IPv4 ACLs with TCP, UDP, ICMP, and IP. TCP flag matching ('established', 'ack', 'syn', …), 'time-range', standard ACLs, object groups, and IPv6 are not supported and are reported rather than interpreted. Packet testing is a first-match evaluation of the pasted entries only: it does not simulate NAT, routing, interface direction, zone policies, or hardware ACL programming. Analysis has size and complexity limits and returns indeterminate rather than guessing beyond them.
Related tools
- Cisco Configuration Validator — paste full switch configs for interface, VLAN, and SVI checks
- Wildcard Mask Calculator — convert subnet masks to wildcard masks
- IP Access List Generator — generic IP access list entries
- Subnet Calculator — plan the networks your ACL references
Frequently Asked Questions
Is my ACL configuration uploaded anywhere?
No. Building, analysis, and packet testing all run locally in your browser. ACL text is not sent to NetworkToolsHub servers, is not written to browser storage, and is not included in exports unless you tick the box that adds it.
What is the implicit deny?
Every Cisco ACL ends with an invisible 'deny ip any any'. If no entry matches a packet, the packet is dropped. The builder explains this and does not add an explicit deny unless you add one yourself, which is the usual way to log or make visible what gets denied.
What is a shadowed rule?
A shadowed rule can never match because an earlier rule already matches all of its traffic. In 'deny ip any any' followed by 'permit tcp any host 10.20.20.10 eq 443', the permit is unreachable. The analyzer reports this as a confirmed finding because first-match semantics prove it from the pasted text alone.
What is the difference between redundant, conflicting, and partial overlap?
Redundant means the rule is fully covered by earlier rules with the same action, so removing it changes nothing. Conflicting means earlier rules match its traffic with the opposite action, so the rule can never take effect. Partial overlap means the rules share some traffic but neither fully covers the other, which may be intentional.
Why do wildcard masks not work like subnet masks?
Wildcard masks are bitwise templates, not network prefixes. 0.0.255.0 means the third octet can be anything while the last octet must be 0, which corresponds to no single CIDR block. Cisco wildcard masks also do not require contiguous bits, and the analyzer handles them with bitwise matching.
What does an indeterminate packet-test result mean?
The engine could not prove the outcome from the pasted text, for example when the ACL contains unsupported syntax that could have matched, or when several ACLs are pasted and it is unclear which applies. In that case the tool says so instead of guessing.
Which ACL types are supported?
Named extended ACLs and numbered extended ACLs in the 100-199 and 2000-2699 ranges, with TCP, UDP, ICMP, and IP protocols, port operators (eq, neq, lt, gt, range), common service names, remarks, and logging. Standard ACLs and unsupported keywords are reported rather than silently analyzed.
Technically Reviewed By
Senior Enterprise Network Engineer — 25+ years of IT and network infrastructure experience, including enterprise Cisco switching, routing, wireless, firewalls, VPN, network access control, SD-WAN, and large-scale network operations.
Last reviewed: 2026-11-19
Calculations are performed using standards-based formulas and verified against known reference values. All computation runs client-side in your browser.
Related Resources
IP Access List Generator
Generate IP access list entries for routers and firewalls with source/destination filtering and protocol selection.
Wildcard Mask Calculator
Convert subnet masks to wildcard masks and inverse masks for ACLs, OSPF, and Cisco access list configuration.
Cisco Configuration Validator
Paste a Cisco IOS or IOS XE configuration and get structured findings for interface conflicts, EtherChannel and VLAN problems, duplicate SVI addresses, and disruptive commands. Runs entirely in your browser.
Cisco Interface Config Generator
Generate Cisco IOS-XE interface configuration CLI for access, trunk, and routed ports with VLAN, description, and QoS options.
Cisco VLAN Config Generator
Generate Cisco IOS-XE VLAN configuration including VLAN ID, name, SVI IP, subnet mask, description, and DHCP relay addresses.
Wildcard Masks Explained
What wildcard masks are, how they differ from subnet masks, and how to calculate them for Cisco ACLs and OSPF network statements.
IPv4 Subnetting Guide
A complete walkthrough of IPv4 subnetting: network vs host bits, CIDR notation, calculating network addresses, broadcast addresses, and usable hosts with worked examples.