<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic find duplicate ACLs in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480813#M269393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jouni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did was I did all the configuration on notepad, and then 'copy tftp running-config' onto the firewall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one of the duplicated ACL looks like: -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list Outside_access_in extended permit ip host 1.1.1.1 object MYSERVER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 11:05:47 GMT</pubDate>
    <dc:creator>LionKin1984</dc:creator>
    <dc:date>2014-02-18T11:05:47Z</dc:date>
    <item>
      <title>find duplicate ACLs</title>
      <link>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480810#M269387</link>
      <description>&lt;P&gt;Hello there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to find duplicate ACLs on cisco ASA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just restored running-config (nearly 800 ACLs) onto our new ASA and it threw out a message :WARNING: ACL-name found duplicate element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the model we have is 5512-x, I googled it online but no success so far,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rdgs!&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 03:47:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480810#M269387</guid>
      <dc:creator>LionKin1984</dc:creator>
      <dc:date>2019-03-12T03:47:00Z</dc:date>
    </item>
    <item>
      <title>find duplicate ACLs</title>
      <link>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480811#M269389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kind of wonder what the actual situation is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would think that the WARNING message means that you were trying to enter a single ACL rule (= ACE) that already existed in the ACL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To my understanding the only way you can have identical ACEs in a single ACL when you have one ACE using a simple permit statement mentioning the IPs/ports in the command and when you have the same done with "object-group". In this situation to my understanding the ASA will actually have 2 identical rules (even though configured differently)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list TEST permit tcp host 1.1.1.1 host 2.2.2.2 eq 80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network SOURCE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object host 1.1.1.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network DESTINATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object host 2.2.2.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list TEST permit tcp object-group SOURCE object-group DESTINATION eq 80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will produce the following ACL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list TEST extended permit tcp host 1.1.1.1 host 2.2.2.2 eq www&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list TEST extended permit tcp object-group SOURCE object-group DESTINATION eq www&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we look at the ACL in opened form we see that the actual rules are identical&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list TEST; 2 elements; name hash: 0xd37fdb2b&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list TEST line 1 extended permit tcp host 1.1.1.1 host 2.2.2.2 eq www (hitcnt=0) 0xd82b1952&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list TEST line 2 extended permit tcp object-group SOURCE object-group DESTINATION eq www 0xbcf2cfe7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; access-list TEST line 2 extended permit tcp host 1.1.1.1 host 2.2.2.2 eq www (hitcnt=0) 0xd82b1952&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet you say that you were moving an previous configuration to the device so it should be valid configuration as it was already used on an ASA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that you have not just copy/pasted same lines again or perhaps used somekind of &lt;STRONG&gt;"show access-list" &lt;/STRONG&gt;output as the base of some configuration? That what I was thinking with the above example I mentioned that the access-list output might have identical rules even though the configuration format is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:22:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480811#M269389</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2014-02-18T10:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: find duplicate ACLs</title>
      <link>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480812#M269391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;If you're familiar with ASDM, you can use the filtering feature to help with your search.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sent from Cisco Technical Support iPhone App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:33:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480812#M269391</guid>
      <dc:creator>johnlloyd_13</dc:creator>
      <dc:date>2014-02-18T10:33:57Z</dc:date>
    </item>
    <item>
      <title>find duplicate ACLs</title>
      <link>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480813#M269393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jouni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did was I did all the configuration on notepad, and then 'copy tftp running-config' onto the firewall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one of the duplicated ACL looks like: -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list Outside_access_in extended permit ip host 1.1.1.1 object MYSERVER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:05:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480813#M269393</guid>
      <dc:creator>LionKin1984</dc:creator>
      <dc:date>2014-02-18T11:05:47Z</dc:date>
    </item>
    <item>
      <title>find duplicate ACLs</title>
      <link>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480814#M269395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Johnlloyd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am OK with ASDM, I have always been using it for ASA configuration. I will try the filtering features&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:07:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480814#M269395</guid>
      <dc:creator>LionKin1984</dc:creator>
      <dc:date>2014-02-18T11:07:36Z</dc:date>
    </item>
    <item>
      <title>find duplicate ACLs</title>
      <link>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480815#M269397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have found a way around this problem, instead of finding duplicates on ASA, I created a little script (.bat) file to find and remove duplicate in notepad, then 'copy tftp running-config' onto the firewall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks guys anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:34:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480815#M269397</guid>
      <dc:creator>LionKin1984</dc:creator>
      <dc:date>2014-02-18T11:34:05Z</dc:date>
    </item>
    <item>
      <title>Hi LionKin 1984,</title>
      <link>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480816#M269398</link>
      <description>&lt;P&gt;Hi LionKin 1984,&lt;/P&gt;
&lt;P&gt;Do you have the script which you used ?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 15:22:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/find-duplicate-acls/m-p/2480816#M269398</guid>
      <dc:creator>aashu21392</dc:creator>
      <dc:date>2016-04-18T15:22:59Z</dc:date>
    </item>
  </channel>
</rss>

