<?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: Sharing a session with GUI and Gaia/expert in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53219#M3453</link>
    <description>You take it back over on the CLI:&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/take-over-session~v1.4%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/take-over-session~v1.4%20&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Basically, two things cannot use the same session at the same time.&lt;BR /&gt;But you can easily switch between SmartConsole and mgmt_cli.</description>
    <pubDate>Sat, 11 May 2019 22:28:56 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2019-05-11T22:28:56Z</dc:date>
    <item>
      <title>Sharing a session with GUI and Gaia/expert</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53127#M3445</link>
      <description>&lt;P&gt;I've been toying with mgmt_cli and love the flexibility - is there any way to share this session with the gui?&amp;nbsp; The Command Line given in the GUI works fine, but limits how much I can do in one shot (paste).&lt;/P&gt;&lt;P&gt;I'm aware of the continue-session-in-smartconsole, but that appears to log the mgmt_cli out so no more changes for that session, but the GUI gets the unpublished changes.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 13:15:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53127#M3445</guid>
      <dc:creator>Matthew_LaComb</dc:creator>
      <dc:date>2019-05-10T13:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a session with GUI and Gaia/expert</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53182#M3448</link>
      <description>&lt;P&gt;If you use mgmt_cli -r true, this basically does a login/publish/logout behind the scenes.&lt;BR /&gt;If you login with a proper session via mgmt_cli, that session can be "taken over" in SmartConsole just like any other session.&lt;BR /&gt;For example:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;[Expert@mgmt:0]# &lt;STRONG&gt;mgmt_cli login&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Username: &lt;STRONG&gt;phoneboy&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Password: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;uid: "5195aab6-4db5-409a-8d80-af630bd7cefe"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;sid: "sJU7Ql86il8u7Fn3DGjgZ2fNTM5ZzELYiLkZCTdg2CU"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;url: "&lt;A href="https://127.0.0.1:443/web_api" target="_blank"&gt;https://127.0.0.1:443/web_api&lt;/A&gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;session-timeout: 600&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;last-login-was-at: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;posix: 1544277634568&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;iso-8601: "2018-12-08T06:00-0800"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;api-server-version: "1.3"&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;[Expert@mgmt:0]#&lt;STRONG&gt;&amp;nbsp;mgmt_cli --session-id sJU7Ql86il8u7Fn3DGjgZ2fNTM5ZzELYiLkZCTdg2CU add-host name foobar ipv4-address 3.1.3.7&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Now you can see the session in SmartConsole and take it over:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-10 at 4.28.31 PM.png" style="width: 724px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/1149i5CA2BA720AAE7730/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-10 at 4.28.31 PM.png" alt="Screen Shot 2019-05-10 at 4.28.31 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And the object I created via mgmt_cli is there:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-05-10 at 4.32.32 PM.png" style="width: 442px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/1150i948F1D3742247F44/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-05-10 at 4.32.32 PM.png" alt="Screen Shot 2019-05-10 at 4.32.32 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 23:34:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53182#M3448</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-05-10T23:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a session with GUI and Gaia/expert</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53191#M3450</link>
      <description>&lt;P&gt;Yes, but the session is "taken over"&amp;nbsp; - is there any way to get the session back to my mgmt_cli?&amp;nbsp; Ideally, it would be nice to share the session between the mgmt_cli and the gui so I can work and compare.&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 02:12:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53191#M3450</guid>
      <dc:creator>Matthew_LaComb</dc:creator>
      <dc:date>2019-05-11T02:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a session with GUI and Gaia/expert</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53219#M3453</link>
      <description>You take it back over on the CLI:&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/take-over-session~v1.4%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/take-over-session~v1.4%20&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Basically, two things cannot use the same session at the same time.&lt;BR /&gt;But you can easily switch between SmartConsole and mgmt_cli.</description>
      <pubDate>Sat, 11 May 2019 22:28:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Sharing-a-session-with-GUI-and-Gaia-expert/m-p/53219#M3453</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-05-11T22:28:56Z</dc:date>
    </item>
  </channel>
</rss>

