<?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 Show access-list help on ASA in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879503#M458973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://www.m00nie.com/2011/09/cisco-pipe-options-and-some-regex-examples/"&gt;https://www.m00nie.com/2011/09/cisco-pipe-options-and-some-regex-examples/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no “real” AND function but you can use .* (dot then star) to&amp;nbsp; match everything between two other expressions. below we match acls from&amp;nbsp; 192.168.15-19.x AND that have a hit count of zero..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;show access-list | inc 192.168.1[5-9].*cnt=0&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 11:12:46 GMT</pubDate>
    <dc:creator>tremorph3us</dc:creator>
    <dc:date>2013-09-12T11:12:46Z</dc:date>
    <item>
      <title>Show access-list help on ASA</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879497#M458934</link>
      <description>&lt;P&gt;I am trying to view a specific line count of access lists on the ASA. Current if I run show access-list inside_access_in I can't specify the line I would like to filter on. I'm trying to view all hits on ACE (access list entries) on line 2. So i'm running the command show access-list inside_access_in | grep -v (hitcnt=0). This tells the ASA to show me all ACLs on the ASA with a hitcnt that is not = to 0. That part works fine but I would like to only show the line 2 ACLs instead of everyone of the ACLs on the ASA. Is there a regular expression or something I can do for this? &lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 22:33:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879497#M458934</guid>
      <dc:creator>Justin Westover</dc:creator>
      <dc:date>2019-03-11T22:33:55Z</dc:date>
    </item>
    <item>
      <title>Show access-list help on ASA</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879498#M458939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not just:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; show access-list inside_access_in | grep (line 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure you'll get an output whether or not the hitcnt=0 but is that important?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 22:34:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879498#M458939</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2012-02-22T22:34:33Z</dc:date>
    </item>
    <item>
      <title>Show access-list help on ASA</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879499#M458947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well because line 2 has thousands of actual lines and I don't want to sift through them all. I want to look at all line 2 entries which have a hitcnt(not equal to)0. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 19:58:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879499#M458947</guid>
      <dc:creator>Justin Westover</dc:creator>
      <dc:date>2012-02-23T19:58:17Z</dc:date>
    </item>
    <item>
      <title>Show access-list help on ASA</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879500#M458953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only way I can think of getting this information is to do a 'sh access-list inside_access_in | ex hitcnt=0'.&amp;nbsp; This will show you every line where the hitcnt does not equal zero, but if you save the output to a file you can then grab the relevant information you are looking for from that text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 20:29:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879500#M458953</guid>
      <dc:creator>Matt Lang</dc:creator>
      <dc:date>2012-02-23T20:29:08Z</dc:date>
    </item>
    <item>
      <title>Show access-list help on ASA</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879501#M458964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you have the flexibility with the limited regex support in the ASA to do the logical AND. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to capture the lengthy output and then create a script in your external tool of choice to post-process the output winnowing it down to the interesting entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 20:32:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879501#M458964</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2012-02-23T20:32:18Z</dc:date>
    </item>
    <item>
      <title>Show access-list help on ASA</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879502#M458969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am aware of the command to exlude the hitcnt=0, that is what i'm using currently. I have many lines of ACLs though so the AND operation would be really nice to have. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 20:34:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879502#M458969</guid>
      <dc:creator>Justin Westover</dc:creator>
      <dc:date>2012-02-23T20:34:30Z</dc:date>
    </item>
    <item>
      <title>Show access-list help on ASA</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879503#M458973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://www.m00nie.com/2011/09/cisco-pipe-options-and-some-regex-examples/"&gt;https://www.m00nie.com/2011/09/cisco-pipe-options-and-some-regex-examples/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no “real” AND function but you can use .* (dot then star) to&amp;nbsp; match everything between two other expressions. below we match acls from&amp;nbsp; 192.168.15-19.x AND that have a hit count of zero..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;show access-list | inc 192.168.1[5-9].*cnt=0&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:12:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879503#M458973</guid>
      <dc:creator>tremorph3us</dc:creator>
      <dc:date>2013-09-12T11:12:46Z</dc:date>
    </item>
    <item>
      <title>This should do it</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879504#M458977</link>
      <description>&lt;P&gt;This should do it&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;show access-list inside_access_in | i line 2 .*hitcnt=[1-9]&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Apr 2016 04:04:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879504#M458977</guid>
      <dc:creator>asadovnikov</dc:creator>
      <dc:date>2016-04-15T04:04:43Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879505#M458980</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I don't know if you are interested in the ACL as a whole (if say, it concerns a group object for a collection of IPs), or one IP.&lt;/P&gt;
&lt;P&gt;If you want one IP then see the below from another post of mine;&lt;/P&gt;
&lt;P&gt;As you know the access-list name and the IP you are interested in , you can do this fairly easily;&lt;/P&gt;
&lt;P&gt;show access-list &lt;EM&gt;acl_name&lt;/EM&gt; ip_addr&lt;/P&gt;
&lt;P&gt;This will return all specific entries to that individual IP, and entries with 'any', and referring to an object-group containing that IP.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Ian&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Obviously you could then also pipe the output to an include|exclude|grep operator, but in the first place you are letting the ASA do a bit of logic to only include entries that are relevant to you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 17:08:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/1879505#M458980</guid>
      <dc:creator>iswift</dc:creator>
      <dc:date>2016-10-12T17:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Show access-list in source IP &amp; destination IP</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/3390029#M458984</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How can i filter specific access list between source IP &amp;amp; destination ip with port no(tcp/udp) using show command.Suppose below is the source &amp;amp; destination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source IP is 192.168.1.1&lt;/P&gt;
&lt;P&gt;Destination IP is 10.1.1.1&lt;/P&gt;
&lt;P&gt;port no. is (tcp 22)&lt;/P&gt;
&lt;P&gt;Firewall is between source &amp;amp; destination &amp;amp; firewall rule is already opened between source &amp;amp; destination.How can i check specific access list between source ip &amp;amp; destination IP for port no 22.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 09:48:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/3390029#M458984</guid>
      <dc:creator>gagan0001</dc:creator>
      <dc:date>2018-05-28T09:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/4068305#M1069300</link>
      <description>&lt;P&gt;Replying to this as I found it looking for something else and thought this might help others who end up here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to search for hit counts in the asa (ios 9.10.1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;show access-list | i ^access.*hitcnt=[1-9]&lt;/P&gt;&lt;P&gt;this will give you everything that starts with access and has a hitcnt with any number value. You can play with it to suit your needs. Hope this helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 17:48:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-help-on-asa/m-p/4068305#M1069300</guid>
      <dc:creator>Luci</dc:creator>
      <dc:date>2020-04-17T17:48:38Z</dc:date>
    </item>
  </channel>
</rss>

