<?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 Thanks. So does the in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700194#M193950</link>
    <description>&lt;P&gt;Thanks. So does the explanation of, "This will not work on the&amp;nbsp;ASA device" refer to my example or does it refer to any kind of multiple filter syntax? In other words do ASA devices not support muliple show command filter syntax?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2015 14:38:13 GMT</pubDate>
    <dc:creator>Mike Keenan</dc:creator>
    <dc:date>2015-07-09T14:38:13Z</dc:date>
    <item>
      <title>Cisco ASA Multiple Show Command Filters</title>
      <link>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700192#M193947</link>
      <description>&lt;P&gt;Is there a way to perform multiple filters to a show command in the Cisco ASA IOS (8.4 and above)? Please give an example if there is. I tried:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show access-list | include 10.15.221.22 | exclude 1270&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but that does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 06:14:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700192#M193947</guid>
      <dc:creator>Mike Keenan</dc:creator>
      <dc:date>2019-03-12T06:14:40Z</dc:date>
    </item>
    <item>
      <title>Hi,No , this will not work on</title>
      <link>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700193#M193949</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No , this will not work on the ASA device.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vibhor Amrodia&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 13:53:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700193#M193949</guid>
      <dc:creator>Vibhor Amrodia</dc:creator>
      <dc:date>2015-07-09T13:53:34Z</dc:date>
    </item>
    <item>
      <title>Thanks. So does the</title>
      <link>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700194#M193950</link>
      <description>&lt;P&gt;Thanks. So does the explanation of, "This will not work on the&amp;nbsp;ASA device" refer to my example or does it refer to any kind of multiple filter syntax? In other words do ASA devices not support muliple show command filter syntax?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 14:38:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700194#M193950</guid>
      <dc:creator>Mike Keenan</dc:creator>
      <dc:date>2015-07-09T14:38:13Z</dc:date>
    </item>
    <item>
      <title>As far as we know, ASA</title>
      <link>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700195#M193952</link>
      <description>&lt;P&gt;As far as we know, ASA devices do not support multiple filters, period. In particular, the first "|" means filter, and any subsequent ones mean regular expression alternation. &amp;nbsp; I usually cut &amp;amp; paste show output from a terminal window into a text editor on a real OS, and then beat up on it with actual string processing tools.&lt;/P&gt;&lt;P&gt;-- Jim Leinweber, WI State Lab of Hygiene&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 19:19:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700195#M193952</guid>
      <dc:creator>James Leinweber</dc:creator>
      <dc:date>2015-07-09T19:19:22Z</dc:date>
    </item>
    <item>
      <title>I found out from</title>
      <link>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700196#M193956</link>
      <description>&lt;P&gt;I found out from &lt;A href="http://www.trevortraining.com/object-group-piping-cli-trick-on-asa-firewalls/" target="_blank"&gt;TrevorTraining.com&lt;/A&gt;&amp;nbsp;that you can do multiple | i statements. Example:&lt;/P&gt;&lt;P&gt;show run | i p n|3.3.3.3&lt;/P&gt;&lt;P&gt;This will include BOTH strings "p n" (object-grou&lt;STRONG&gt;p&lt;/STRONG&gt; &lt;STRONG&gt;n&lt;/STRONG&gt;etwork) AND any string that contains "3.3.3.3". This will indicate the object-group that contains 3.3.3.3 without having to do a "show run object-group" and manually filtering through the output.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2015 13:43:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/2700196#M193956</guid>
      <dc:creator>Mike Keenan</dc:creator>
      <dc:date>2015-08-12T13:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: I found out from</title>
      <link>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/3768029#M193959</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;This extra vertical bar to add more search parameters works for me &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;with some caveats of space delimiters that I have yet to see documented, but have not researched much.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;The active parsing process definitely processes the first vertical bar differently than subsequent vertical bars.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;The first vertical bar needs a space delimiter before and after :&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ASA-5515X# sho traff| in rec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; ^&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ERROR: % Invalid input detected at '^' marker.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ASA-5515X# sho traff |in ? &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ERROR: % Unrecognized command&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ASA-5515X# sho traff | in LAN&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LAN:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Subsequent vertical bars...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Space after second vertical bar does not work:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ASA-5515X# sho traff | in WAN| LAN&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;WAN:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Space before and after second vertical bar does not work:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ASA-5515X# sho traff | in LAN | WAN&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;No space before and after second vertical bar works:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ASA-5515X# sho traff | in LAN|WAN &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;WAN:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LAN:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Space before third vertical bar causes second search parameter to be dropped:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;ASA-5515X# sho traff | in WAN|LAN |2 pkts&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;WAN:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute input rate 2 pkts/sec, 139 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute input rate 2 pkts/sec, 187 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute output rate 2 pkts/sec, 177 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute input rate 2 pkts/sec, 177 bytes/sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;No space before third vertical bar includes second search parameter in the search:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;ASA-5515X# sho traff | in WAN|LAN|2 pkts &lt;BR /&gt;WAN:&lt;BR /&gt;LAN:&lt;BR /&gt; 5 minute input rate 2 pkts/sec, 139 bytes/sec&lt;BR /&gt; 5 minute input rate 2 pkts/sec, 187 bytes/sec&lt;BR /&gt; 5 minute output rate 2 pkts/sec, 177 bytes/sec&lt;BR /&gt; 5 minute input rate 2 pkts/sec, 177 bytes/sec&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Sample output without a filter:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ASA-5515X# sho traf &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;WAN:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; received (in 883729.480 secs):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 554326570 packets 687492900119 bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 0 pkts/sec 777002 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; transmitted (in 883729.480 secs):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 81159319 packets 38001404317 bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 4 pkts/sec 43001 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 1 minute input rate 515 pkts/sec, 481704 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 1 minute output rate 255 pkts/sec, 292291 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 1 minute drop rate, 0 pkts/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute input rate 438 pkts/sec, 478150 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute output rate 69 pkts/sec, 16105 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute drop rate, 0 pkts/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LAN:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; received (in 883729.480 secs):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 81157929 packets 33663306289 bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 4 pkts/sec 38004 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; transmitted (in 883729.480 secs):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 551441501 packets 658413447560 bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 1 pkts/sec 745000 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 1 minute input rate 255 pkts/sec, 278934 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 1 minute output rate 512 pkts/sec, 454322 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 1 minute drop rate, 0 pkts/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute input rate 69 pkts/sec, 12420 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute output rate 434 pkts/sec, 455113 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 5 minute drop rate, 0 pkts/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;management:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; received (in 883734.520 secs):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 31148850 packets 1261698039 bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 1 pkts/sec 1000 bytes/sec&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; transmitted (in 883734.520 secs):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 55648308 packets 13494870042 bytes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt; 4 pkts/sec 15002 bytes/sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;There are more permutations of this, but very cool that this works at least a little to save some time processing in one-shot rather than multiple processing steps. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Thanks for the idea otherwise I may have given up. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;-Mike&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 19:18:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-asa-multiple-show-command-filters/m-p/3768029#M193959</guid>
      <dc:creator>netadmin@oyo</dc:creator>
      <dc:date>2018-12-21T19:18:57Z</dc:date>
    </item>
  </channel>
</rss>

