<?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: How-to delete a policy-based forwarding rule from CLI in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/211248#M61644</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/85110"&gt;@scott.woody&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Locally you cannot override a policy based forwarding rule when it is configured on panorama. So to delete this rule you have to use the commands mentionned by &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/28203"&gt;@gwesson&lt;/a&gt;&amp;nbsp;and &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/43480"&gt;@BPry&lt;/a&gt;&amp;nbsp;on panorama. If the rule is configured on the panorama in post rulebase, then you probably could create a local rule which makes the panorama rule unnecessary and hides it so ti will not be applied anymore.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The override command you mentionned is only for template configurations and not for configurations from device groups.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Apr 2018 10:40:23 GMT</pubDate>
    <dc:creator>Remo</dc:creator>
    <dc:date>2018-04-22T10:40:23Z</dc:date>
    <item>
      <title>How-to delete a policy-based forwarding rule from CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/210972#M61572</link>
      <description>&lt;P&gt;I'm trying to find the correct syntax to delete a policy based forwarding rule from a PA firewall via the CLI.&amp;nbsp; having a really hard time formulating this from the CLI reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would i do this by referencing the ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also, this firewall is managed as part of a Panorama template.&amp;nbsp; would i need to use the 'override deviceconfig system' command beforehand?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;-SW&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 15:36:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/210972#M61572</guid>
      <dc:creator>scott.woody</dc:creator>
      <dc:date>2018-04-19T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How-to delete a policy-based forwarding rule from CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/211214#M61635</link>
      <description>&lt;P&gt;If the rule in question is&amp;nbsp;&lt;STRONG&gt;not&lt;/STRONG&gt; pushed by Panorama, you can delete it locally without issue:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; configure&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# delete rulebase security rules RuleNameHere&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# commit&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;If the rule was pushed by Panorama, it can be deleted on Panorama via CLI as well. The syntax gets more complex because you need to specify the device group and specify the rule type (pre-rule or post-rule).&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; configure&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# delete device-group DGNameHere pre-rulebase security rules RuleNameHere&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# commit&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am fairly sure there is a way to delete Panorama-pushed rules on the firewall (if the Panorama admin allows that), but can't find it offhand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 22:07:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/211214#M61635</guid>
      <dc:creator>gwesson</dc:creator>
      <dc:date>2018-04-20T22:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How-to delete a policy-based forwarding rule from CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/211239#M61642</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/85110"&gt;@scott.woody&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/28203"&gt;@gwesson&lt;/a&gt;&amp;nbsp;gave you the right commands but actually used the securtiy rulebase. You would want to modify that to 'rulebase pbf' instead to actually work with the pbf rules. The rest of the examples given stays the same.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 03:26:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/211239#M61642</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2018-04-22T03:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: How-to delete a policy-based forwarding rule from CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/211248#M61644</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/85110"&gt;@scott.woody&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Locally you cannot override a policy based forwarding rule when it is configured on panorama. So to delete this rule you have to use the commands mentionned by &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/28203"&gt;@gwesson&lt;/a&gt;&amp;nbsp;and &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/43480"&gt;@BPry&lt;/a&gt;&amp;nbsp;on panorama. If the rule is configured on the panorama in post rulebase, then you probably could create a local rule which makes the panorama rule unnecessary and hides it so ti will not be applied anymore.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The override command you mentionned is only for template configurations and not for configurations from device groups.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 10:40:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-delete-a-policy-based-forwarding-rule-from-cli/m-p/211248#M61644</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2018-04-22T10:40:23Z</dc:date>
    </item>
  </channel>
</rss>

