<?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 host object in global domain with mgmt_cli in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180870#M7699</link>
    <description>&lt;P&gt;Thanks for the advice. It worked without any problems&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 08:55:12 GMT</pubDate>
    <dc:creator>mbaerwolff</dc:creator>
    <dc:date>2023-05-15T08:55:12Z</dc:date>
    <item>
      <title>Create host object in global domain with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180722#M7694</link>
      <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a host object in the global domain using mgmt_cli.&lt;BR /&gt;For this purpose I have used the following command so far:&lt;BR /&gt;&lt;BR /&gt;#mgmt_cli add host name "test" ip-address "192.168.178.1" domain.domain-type "global domain"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, I get the following error on it:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;code: "generic_err_invalid_parameter_name"&lt;BR /&gt;message: "Unrecognized parameter [domain]".&lt;/P&gt;&lt;P&gt;Has anyone had the same problem?&lt;/P&gt;&lt;P&gt;Quick info: I am using a multi-domain management on version R81.10 with JHF Take 94 as well as API version v1.8.1.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 09:12:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180722#M7694</guid>
      <dc:creator>mbaerwolff</dc:creator>
      <dc:date>2023-05-12T09:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create host object in global domain with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180740#M7695</link>
      <description>&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#cli/add-host~v1.9%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/#cli/add-host~v1.9%20&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 13:05:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180740#M7695</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-05-12T13:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create host object in global domain with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180761#M7696</link>
      <description>&lt;P&gt;You specify which domain to use when you log in. There are a few special domains: "Global", "MDS", and "System Data". To add a host in the Global domain, you would do something like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mgmt_cli -f json -d "Global" -r true login &amp;gt; session.txt
mgmt_cli -f json -s session.txt add host name "test" ip-address "192.168.178.1"
mgmt_cli -f json -s session.txt publish
mgmt_cli -f json -s session.txt assign-global-assignment ...
mgmt_cli -f json -s session.txt logout
rm session.txt&lt;/LI-CODE&gt;
&lt;P&gt;The call to "&lt;SPAN&gt;assign-global-assignment" is needed to actually distribute the object from the Global domain to the CMAs. I'm not 100% sure how it should be called. If you're fine refreshing the global assignment from SmartConsole, you can leave that line out.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 16:35:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180761#M7696</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2023-05-12T16:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create host object in global domain with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180870#M7699</link>
      <description>&lt;P&gt;Thanks for the advice. It worked without any problems&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 08:55:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Create-host-object-in-global-domain-with-mgmt-cli/m-p/180870#M7699</guid>
      <dc:creator>mbaerwolff</dc:creator>
      <dc:date>2023-05-15T08:55:12Z</dc:date>
    </item>
  </channel>
</rss>

