<?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: Create rule below Inline-layer via mgmt_cli in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-rule-below-Inline-layer-via-mgmt-cli/m-p/119197#M5869</link>
    <description>&lt;P&gt;An inline layer is itself a unique layer.&lt;BR /&gt;They way you manipulate it via the API is to reference that layer specifically, which I assume will be called Outbound-mgmt (as shown in Rule 1).&lt;BR /&gt;Any positional arguments will be in terms of that specific layer only.&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 00:32:08 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2021-05-24T00:32:08Z</dc:date>
    <item>
      <title>Create rule below Inline-layer via mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-rule-below-Inline-layer-via-mgmt-cli/m-p/119196#M5868</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am practicing lab how to use CLI in checkpoint for R80.40 (v1.6). I want to create rule below my Inline-layer. I tried to follow the CheckPoint API Guide, but I don't see it is available.&amp;nbsp; Does anyone try it do that before?&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-05-23 123206.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/11792iD40E6A5A0385E341/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-05-23 123206.png" alt="Screenshot 2021-05-23 123206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is my API&amp;nbsp; line:&lt;/P&gt;&lt;P&gt;mgmt_cli -r true add access-rule layer 'External-GW Network' position. below ' Allow mgmt outbound' name 'mgmt to internet' action- 'Accept' source 'Site-MGMT' destination.1 'Site2' destination.2 'Site3' track.type 'log'&lt;/P&gt;&lt;P&gt;mgmt_cli -r true add access-rule layer 'External-GW Network' position.above 'Cleanup rule' name 'mgmt to internet' action- 'Accept' source 'Site-MGMT' destination.1 'Site2' destination.2 'Site3' track.type 'log'&lt;/P&gt;&lt;P&gt;mgmt_cli -r true add access-rule layer 'External-GW Network' position 1.1 name 'mgmt to internet' action- 'Accept' source 'Site-MGMT' destination.1 'Site2' destination.2 'Site3' track.type 'log'&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;The first one seems created new rule #2 but did not create rule 1.1 that I wanted.&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 19:46:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-rule-below-Inline-layer-via-mgmt-cli/m-p/119196#M5868</guid>
      <dc:creator>Tai_Bui</dc:creator>
      <dc:date>2021-05-23T19:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create rule below Inline-layer via mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-rule-below-Inline-layer-via-mgmt-cli/m-p/119197#M5869</link>
      <description>&lt;P&gt;An inline layer is itself a unique layer.&lt;BR /&gt;They way you manipulate it via the API is to reference that layer specifically, which I assume will be called Outbound-mgmt (as shown in Rule 1).&lt;BR /&gt;Any positional arguments will be in terms of that specific layer only.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 00:32:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-rule-below-Inline-layer-via-mgmt-cli/m-p/119197#M5869</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-05-24T00:32:08Z</dc:date>
    </item>
  </channel>
</rss>

