Tools

ACL and prefix-list analyzer

Runs in your browser. Nothing you enter is sent anywhere, and the page’s security policy stops it from contacting other sites.

Paste access lists or prefix-lists from a Cisco IOS-XE or NX-OS configuration. Every line is checked for whether it can ever match and whether it is needed, and you can test which line a packet or a route meets.

What it reads and how to read the findings

Findings

Shadowed: the line never matches, because earlier lines take all of its traffic, some of it with the opposite action. This is usually a mistake, such as a deny placed after a broader permit.Redundant: the line never matches, because earlier lines already do the same with all of its traffic. Unneeded: the line matches traffic, but later lines would treat that traffic the same way without it. Earlier or later lines can take a line’s traffic together, not only one at a time.

Removing one unneeded line can make another one needed, so remove them one at a time, or use “Clean up”, which does that and keeps every result identical. Shadowed lines are left in the copy: they usually point to a mistake to fix rather than a line to delete. Lines with log are never called unneeded, and a final explicit deny is not flagged, because it is often kept for its hit counter.

What it reads

Numbered and named IPv4 ACLs, IPv6 ACLs and IPv4 and IPv6 prefix-lists, in IOS-XE and NX-OS syntax: host, any, wildcard masks (contiguous or not) and prefixes, protocol and port names, several ports after eq, neq,lt, gt, range, ICMP types and codes,established, log, remarks and sequence numbers, with lines numbered the way the router numbers them. Every ACL ends with the lines the router adds without showing them, including the neighbor discovery permits of IPv6 ACLs.

Options such as dscp, time-range, fragments and TCP flags make a line conditional: it can be found never to match, but it is never used as proof that another line never matches. Reflexive ACLs and options the tool does not know are marked “not analyzed” with the reason, never guessed. The packet test assumes a packet that is not a fragment.

Object groups

IOS-XE object-group network and v6-network (host, address and netmask, prefix, range, any, nested group-object) andobject-group service, used in place of the protocol. NX-OSobject-group ip address and ipv6 address, used withaddrgroup, and object-group ip port, used withportgroup. Groups can come before or after the ACLs that use them; a line that uses a group missing from the paste is not analyzed. In an IOS network group the second address is a netmask, not a wildcard as in an ACL line, and a wildcard typed there is flagged.

The configuration is read in your browser, in a separate worker. It is not sent anywhere, kept on this device or put in the address bar.