ACL first-match evaluator
Paste a Cisco IOS or IOS XE IPv4 access list and describe a packet: see which entry matches first, the field that ruled out every entry above it, or the implicit deny, with shadowed and redundant entries flagged and every wildcard shown as a prefix.
NetworkingKept in this browser · My desk
Numbered access-list lines, or an ip access-list standard or extended block with or without sequence numbers. Lines the tool does not read are listed below with the reason.
Read in your browser: nothing you paste or type is sent anywhere.
Reads Cisco IOS and IOS XE IPv4 syntax only. Other platforms end a list differently: Juniper EX discards, Extreme Switch Engine and Fabric Engine permit by default. Why, with the sources: the ACL (access control list) article
Test packet
Protocol: tcp, udp, icmp, igmp, gre, esp, eigrp, ospf, pim or a number from 0 to 255. Ports count for TCP and UDP only. The opening SYN of a connection has neither ACK nor RST.
References
- Cisco, Security and VPN Configuration Guide, Cisco IOS XE 17.x: IP Access List Entry Sequence Numbering: first match, the implicit deny, an empty list permits all traffic, sequence numbers assigned 10 apart, duplicates refused, standard host entries hashed and looked up first
- Cisco, ACLs Configuration Guide, Cisco IOS XE 17 (Catalyst 9000): Access Control Lists: sequence numbers dictate the order of evaluation, remarks are not processed, numbered list syntax and ranges, any and host, port operators, established
- Cisco IOS Security Command Reference, Commands A to C: access-list (IP extended) and access-list (IP standard): protocol keywords and numbers, wildcard bits (need not be contiguous), port operators and names, established (ACK or RST), fragments, log, the implicit deny
- Cisco, IOS XE 17.18.1 YANG model Cisco-IOS-XE-acl (YangModels repository): eq and neq with up to 10 ports, sequence numbers 1 to 2147483647, remarks of 1 to 100 characters, protocol keywords
- Cisco, IOS XE 17.18.1 YANG model Cisco-IOS-XE-types: std-acl-type and ext-acl-type number ranges, tcp-port-type and udp-port-type names and numbers
- Cisco, End-of-Sale and End-of-Life Announcement for the Cisco IOS XE 17.18.x: End of SW Maintenance Releases 29 April 2028, End of Vulnerability/Security Support 30 September 2029
- RFC 4632, Classless Inter-domain Routing (CIDR): section 3.1, prefix notation; section 5.1, contiguous masks
- IANA, Assigned Internet Protocol Numbers: ICMP 1, IGMP 2, TCP 6, UDP 17, GRE 47, ESP 50, EIGRP 88, PIM 103
- RFC 2328, OSPF Version 2: Appendix A.1, OSPF is IP protocol number 89
- Juniper Networks, Understanding how firewall filters are evaluated (EX Series): every filter ends in an implicit deny, and a filter with no terms discards every packet
- Extreme Networks, Switch Engine v33.7.1 User Guide (PDF), ACLs: if a packet matches no rule entries in the ACL, it is permitted
- Extreme Networks, Fabric Engine v9.4 User Guide, access control lists: the default action mode for ACLs is permit
- RFC 3986, Uniform Resource Identifier (URI): Generic Syntax, section 3.5: the fragment is not sent when a link is opened