<?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 | include in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150357#M360709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgot to mention that you can also use a second pipe as a &lt;STRONG&gt;OR &lt;/STRONG&gt;in your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 17:43:06 GMT</pubDate>
    <dc:creator>jocamare</dc:creator>
    <dc:date>2013-03-06T17:43:06Z</dc:date>
    <item>
      <title>show access-list | include</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150355#M360705</link>
      <description>&lt;P&gt;Couple questions on show with include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Can you do a show command with include and a space meaning can you search for say "permit ip"?&lt;/P&gt;&lt;P&gt;2. Can you do a search for an exclude say "show access-list | exclude eq"?&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 01:10:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150355#M360705</guid>
      <dc:creator>Nathan Hawkins</dc:creator>
      <dc:date>2019-03-12T01:10:32Z</dc:date>
    </item>
    <item>
      <title>show access-list | include</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150356#M360707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The answer to both questions is &lt;STRONG&gt;YES&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 17:41:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150356#M360707</guid>
      <dc:creator>jocamare</dc:creator>
      <dc:date>2013-03-06T17:41:01Z</dc:date>
    </item>
    <item>
      <title>show access-list | include</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150357#M360709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgot to mention that you can also use a second pipe as a &lt;STRONG&gt;OR &lt;/STRONG&gt;in your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 17:43:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150357#M360709</guid>
      <dc:creator>jocamare</dc:creator>
      <dc:date>2013-03-06T17:43:06Z</dc:date>
    </item>
    <item>
      <title>show access-list | include</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150358#M360710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Heh - ok - I was more interested in what the examples would look like. I feel a bit silly for the second question...I guess I never paid any attention to the options after a pipe... so I see you can do a pipe exclude but how do you do the include for words and spaces?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you do a show command for access-list where you are looking for permit IP without "eq"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 18:01:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150358#M360710</guid>
      <dc:creator>Nathan Hawkins</dc:creator>
      <dc:date>2013-03-06T18:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: show access-list | include</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150359#M360711</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 dont think any &lt;STRONG&gt;"access-list"&lt;/STRONG&gt; line that has &lt;STRONG&gt;"permit ip"&lt;/STRONG&gt; has an &lt;STRONG&gt;"eq"&lt;/STRONG&gt; as those are only used with either &lt;STRONG&gt;UDP or TCP&lt;/STRONG&gt; only permit statements that have/use ports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If on the other hand you are talking about looking for ACL lines that allow UDP or TCP without any port restrictions then this might work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACL lines with "permit tcp" without "eq"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show access-list &lt;ACL name=""&gt; | exclude ip|udp|deny|eq|range&lt;/ACL&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACL lines with "permit udp" without "eq"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show access-list &lt;ACL name=""&gt; | exclude ip|tcp|deny|eq|range&lt;/ACL&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: The above doesnt filter every possible other line from the output though, depending on your ACL configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 18:33:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150359#M360711</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-03-06T18:33:28Z</dc:date>
    </item>
    <item>
      <title>show access-list | include</title>
      <link>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150360#M360712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;How do you do the include for words and spaces?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When filtering you can use the &lt;STRONG&gt;underscore&lt;/STRONG&gt; to refer to spaces on the lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you do a show command for access-list where you are looking for permit IP without "eq"?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't mix commands like, mixing "inc" &amp;amp; "exc".&amp;nbsp; So no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides, the only available option when using two or more pipes is only &lt;STRONG&gt;OR&lt;/STRONG&gt;, in case you were wondering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, examples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show run access-list test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list test remark hello world&lt;/P&gt;&lt;P&gt;access-list test remark helloworld&lt;/P&gt;&lt;P&gt;access-list&amp;nbsp; test remark hey hello world&lt;/P&gt;&lt;P&gt;access-list&amp;nbsp; test remark heyhelloworld&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, filtering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show runnaccess-list | i hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list test remark hello world&lt;/P&gt;&lt;P&gt;access-list test remark helloworld&lt;/P&gt;&lt;P&gt;access-list test remark hey hello world&lt;/P&gt;&lt;P&gt;access-list test remark heyhelloworld&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show run access-list | i _world&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list test remark hello world&lt;/P&gt;&lt;P&gt;access-list&amp;nbsp; test remark hey hello world&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show run access-list | i hey |&amp;nbsp; world&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list test remark hello world&lt;/P&gt;&lt;P&gt;access-list test remark hey hello world&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that covers it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a good articule about the topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://stack.nil.com/ipcorner/EnhanceIOSUI/"&gt;http://stack.nil.com/ipcorner/EnhanceIOSUI/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 18:34:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/show-access-list-include/m-p/2150360#M360712</guid>
      <dc:creator>jocamare</dc:creator>
      <dc:date>2013-03-06T18:34:05Z</dc:date>
    </item>
  </channel>
</rss>

