<?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 Re: Rule change via CLI in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/rule-change-via-cli/m-p/51048#M37560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my knowledge, PAN is not having an option like "replace-pattern" (use in Juniper Firewall) to make any changes, without deleting the same config from CLI. It might come with a future release.&lt;/P&gt;&lt;P&gt;For the time being, you can collect all "set" command from the PAN&amp;nbsp; firewall as mentioned below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;admin@PAN&amp;gt; set &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;cli&lt;/SPAN&gt;&lt;/SPAN&gt; config-output-format set&lt;/P&gt;&lt;P&gt;admin@PAN&amp;gt; configure&lt;/P&gt;&lt;P&gt;Entering configuration mode&lt;/P&gt;&lt;P&gt;[&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;edit&lt;/SPAN&gt;&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;admin@PAN# show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Collect the output in a text file/notepad, and modify as per your requirement &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;( &lt;/SPAN&gt;&lt;/SPAN&gt;But need to delete the existing one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2014 20:31:33 GMT</pubDate>
    <dc:creator>HULK</dc:creator>
    <dc:date>2014-01-20T20:31:33Z</dc:date>
    <item>
      <title>Rule change via CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rule-change-via-cli/m-p/51047#M37559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to remove a parameter to a security rule via the CLI?&amp;nbsp; As an example, if I created the following rule:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set rulebase security rules "Test" from inside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to change inside to outside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use: set rulebase security rules "Test" from outside, I end up with "from [ inside outside ]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer not to have to delete the rule and recreate it as I have a bulk change to do and the CLI will be faster than GUI.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 19:58:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rule-change-via-cli/m-p/51047#M37559</guid>
      <dc:creator>rgreens</dc:creator>
      <dc:date>2014-01-20T19:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rule change via CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rule-change-via-cli/m-p/51048#M37560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my knowledge, PAN is not having an option like "replace-pattern" (use in Juniper Firewall) to make any changes, without deleting the same config from CLI. It might come with a future release.&lt;/P&gt;&lt;P&gt;For the time being, you can collect all "set" command from the PAN&amp;nbsp; firewall as mentioned below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;admin@PAN&amp;gt; set &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;cli&lt;/SPAN&gt;&lt;/SPAN&gt; config-output-format set&lt;/P&gt;&lt;P&gt;admin@PAN&amp;gt; configure&lt;/P&gt;&lt;P&gt;Entering configuration mode&lt;/P&gt;&lt;P&gt;[&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;edit&lt;/SPAN&gt;&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;admin@PAN# show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Collect the output in a text file/notepad, and modify as per your requirement &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;( &lt;/SPAN&gt;&lt;/SPAN&gt;But need to delete the existing one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 20:31:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rule-change-via-cli/m-p/51048#M37560</guid>
      <dc:creator>HULK</dc:creator>
      <dc:date>2014-01-20T20:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rule change via CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/rule-change-via-cli/m-p/51049#M37561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;delete &lt;SPAN style="color: #3b3b3b; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;rulebase security rules "Test" from outside&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will leave the inside and remove the outside.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 23:49:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/rule-change-via-cli/m-p/51049#M37561</guid>
      <dc:creator>JimS2</dc:creator>
      <dc:date>2014-01-20T23:49:27Z</dc:date>
    </item>
  </channel>
</rss>

