<?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 CLI output filter in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/cli-output-filter/m-p/209715#M61287</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to know if there's way how to "chain" multiple variables after pipe in some command to filter the output, something like:&lt;/P&gt;&lt;P&gt;&amp;lt;command&amp;gt; | match &amp;lt;param1&amp;gt;|&amp;lt;param2&amp;gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;show running security-policy | match index|source|destination|application&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to play around with quotation marks, brackets and so on but did not get it working, only with one variable.&amp;nbsp;And I consider something like that one of very basics for efficient CLI use.&lt;/P&gt;&lt;P&gt;Any idea how to get thsi working?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 08:11:01 GMT</pubDate>
    <dc:creator>MichalC_Tieto</dc:creator>
    <dc:date>2018-04-12T08:11:01Z</dc:date>
    <item>
      <title>CLI output filter</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-output-filter/m-p/209715#M61287</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to know if there's way how to "chain" multiple variables after pipe in some command to filter the output, something like:&lt;/P&gt;&lt;P&gt;&amp;lt;command&amp;gt; | match &amp;lt;param1&amp;gt;|&amp;lt;param2&amp;gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;show running security-policy | match index|source|destination|application&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to play around with quotation marks, brackets and so on but did not get it working, only with one variable.&amp;nbsp;And I consider something like that one of very basics for efficient CLI use.&lt;/P&gt;&lt;P&gt;Any idea how to get thsi working?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 08:11:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-output-filter/m-p/209715#M61287</guid>
      <dc:creator>MichalC_Tieto</dc:creator>
      <dc:date>2018-04-12T08:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: CLI output filter</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-output-filter/m-p/210189#M61408</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;You can use this syntax:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; show command | match param1\|param2&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;The key is the \| between parameter1 and parameter2.&amp;nbsp; Here's "show system info" only showing the lines including "ipv6" or "wildfire" (bold added for emphasis):&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;admin@pa0-black_knight(active)&amp;gt; &lt;STRONG&gt;show system info | match ipv6\|wildfire&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;ipv6&lt;/STRONG&gt;-address: unknown&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;ipv6&lt;/STRONG&gt;-link-local-address: fe80::250:56ff:fe82:7c03/64&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;ipv6&lt;/STRONG&gt;-default-gateway: &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;wildfire&lt;/STRONG&gt;-version: 235397-237863&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;wildfire&lt;/STRONG&gt;-release-date: 2018/04/14 22:09:36 MDT&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;admin@pa0-black_knight(active)&amp;gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 04:21:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-output-filter/m-p/210189#M61408</guid>
      <dc:creator>jvalentine</dc:creator>
      <dc:date>2018-04-15T04:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: CLI output filter</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-output-filter/m-p/210254#M61419</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is great info, thank you!&lt;/P&gt;&lt;P&gt;By the way, is there also a way to mix 'match' and 'except' parameters? For example like:&lt;/P&gt;&lt;P&gt;show system info | match ipv6\|wildfire | except version&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 08:01:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-output-filter/m-p/210254#M61419</guid>
      <dc:creator>MichalC_Tieto</dc:creator>
      <dc:date>2018-04-16T08:01:24Z</dc:date>
    </item>
  </channel>
</rss>

