07-06-2016 03:32 AM - edited 03-01-2019 05:07 PM
https://cway.cisco.com/tools/accesslist/
Sample Test Input Data:
Extended IP access list test-acl
10 permit ip any range 1024 2048 host 192.168.1.2 eq 80
20 permit ip 192.168.0.0/0 10.66.85.0 0.0.0.255
25 permit ip host 192.168.5.5 10.0.0.0 0.0.0.255
40 permit tcp host 10.66.86.1 lt 65530 any eq 22
40 permit tcp any host 192.168.1.2 eq 80
30 permit ip 10.66.86.0 0.0.0.255 gt 1024 192.168.1.0 0.0.0.255
50 permit ip any any
41 permit tcp 10.1.1.0 0.0.0.255 eq 80 192.168.0.0 0.0.0.255
42 permit tcp host 10.66.86.1 gt 1024 192.168.1.2 0.0.255.0 range 0 100
40 permit ip 10.66.85.0 0.0.255.1 192.168.0.0 0.0.255.3 eq 80
100 permit ip 10.66.86.0 0.0.255.1 range 100 23000 192.168.0.0/16 eq 80
Source IP - 10.66.86.1
Source Port - 23001
Destination IP - 192.168.1.2
Destination Port - 80
Feedback/Bug reports are always welcome!
ACLcheck utility (beta version)
My new app, "Network Mom ACL Analyzer", is now in the MacOS 10.14 App Store. It analyzes IOS, IOS-XR, NX-OS, and ASA IPv4 security ACLs:
A "duplicate" ACL line is where the earlier line is a strict superset of the later line. This could indicate that the later line is not needed. Or it could indicate that the earlier line is "too broad"(every line is a duplicate of "permit ip any any"). While the tool reports the duplicates, you need to use your judgement to verify it and decide the correct course of action.
- Darrell
CCIE Emeritus #8302
Unfortunatelly it doesn't work for IOS-XR. Do you plan to update this tool for IOS-XR as well ?
@psafarik : My "Network Mom ACL Analyzer" in the macOS App Store (for $10 "lunch money") supports IOS-XR. If your problem is with my analyzer I'd love to see an ACL sample to troubleshoot (email: feedback AT networkmom.net). If your problem is with the original poster's tool my tool is an alternative. I have a demo video up at https://youtube.com/watch?v=KITTaPnSx_c&feature=share&utm_source=EKLEiJECCKjOmKnC5IiRIQ - Darrell
Could you show your IOS-XR ACL sample for diagnostic purposes?
I recommend trying this tool: https://aclcheck.ru/en/
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: