<?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: GAIA - Easy execute CLI commands from management on gateways! in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/101348#M478</link>
    <description>&lt;P data-unlink="true"&gt;Found a bug in this that is resolved by not using 'more' command in this script, just replace it with 'cat'. The bug manifests when remotely executing this script on the mgmt server. I.e. [root@lab-netbox1 ~]# ssh scriptrunner@lab-cpmgmt-01&amp;nbsp; /usr/local/bin/g_cli 10.39.62.3 show route&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;The 'more' command just hangs, probably because it's trying to figure out the terminal height settings which doesn't exist, or something like that.&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;My changes also include the 'more than 9 arguments' support that some other person suggested in here, thanks for that.&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;I also grep for &lt;SPAN&gt;mgmt_ip instead of ipaddr which seems to work for me, so i don't have to modify my -A 20 to include more lines in the output of grep.&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Can also confirm it works on R81.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2020 22:02:48 GMT</pubDate>
    <dc:creator>miguel</dc:creator>
    <dc:date>2020-11-06T22:02:48Z</dc:date>
    <item>
      <title>GAIA - Easy execute CLI commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50764#M448</link>
      <description>169</description>
      <pubDate>Tue, 27 Jan 2026 23:06:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50764#M448</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2026-01-27T23:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50770#M449</link>
      <description>&lt;P&gt;So it‘s basically just a wrapper for cprid_util?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 17:45:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50770#M449</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2019-04-12T17:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50771#M450</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/687"&gt;@Danny&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes!&lt;/P&gt;
&lt;P&gt;It has always bothered me that I have to jump between the systems via ssh when I debugging. So I built this little script on the basis of cprid_util.&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;
&lt;DIV style="display: inline-block; width: 25px; height: 10px;"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Apr 2019 17:54:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50771#M450</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-12T17:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50773#M451</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21670"&gt;@HeikoAnkenbrand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's a good idea!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 18:11:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50773#M451</guid>
      <dc:creator>Jul_Kapendale</dc:creator>
      <dc:date>2019-04-12T18:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50775#M452</link>
      <description>&lt;P&gt;I gave this a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created the scripts as defined.&amp;nbsp; When I attempt to run a command I either get a prompt or I get a [NULL] returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have to set your MDS environment to the CMA that has the SIC with the target firewall?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 19:54:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50775#M452</guid>
      <dc:creator>Tommy_Forrest</dc:creator>
      <dc:date>2019-04-12T19:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50788#M453</link>
      <description>Interesting.&lt;BR /&gt;I moved this into the Gaia space, though, as it seems more appropriate there.</description>
      <pubDate>Fri, 12 Apr 2019 22:50:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50788#M453</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-04-12T22:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50809#M454</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/10886"&gt;@Tommy_Forrest&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have added the two new commands as installation script.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 08:02:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50809#M454</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-13T08:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50810#M455</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/10886"&gt;@Tommy_Forrest&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would have to insert the CMA for the MDS environment. Here the script still a little bit adapt:-)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 08:02:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50810#M455</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-13T08:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50811#M456</link>
      <description>&lt;P&gt;Here a small tutorial video:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 100%;" border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 50%; border-style: hidden;"&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-15MjltaDE6zzYgVQTot8m7LdYVhL_Ipsw708h418r683" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6065296463001" data-account="6058022097001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058022097001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-15MjltaDE6zzYgVQTot8m7LdYVhL_Ipsw708h418r683');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.checkpoint.com/t5/video/gallerypage/video-id/15MjltaDE6zzYgVQTot8m7LdYVhL_Ips"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/TD&gt;
&lt;TD style="width: 50%; border-style: hidden;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Sat, 13 Apr 2019 07:54:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50811#M456</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-13T07:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50812#M457</link>
      <description>&lt;P&gt;&lt;U&gt;Hello&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21670"&gt;@HeikoAnkenbrand&amp;nbsp;&lt;/a&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;there is a typo in your command:&lt;/P&gt;&lt;P&gt;CUT&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# g_clish &amp;lt;gateway IP&amp;gt; &amp;lt;command&amp;gt;      --&amp;gt; for clish commands&lt;/LI-CODE&gt;&lt;P&gt;&amp;lt;&amp;lt;CUT&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's how it should be:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# g_cli &amp;lt;gateway IP&amp;gt; &amp;lt;command&amp;gt;      --&amp;gt; for clish commands&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works perfectly for me.&lt;BR /&gt;And thank you very much!&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 08:41:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50812#M457</guid>
      <dc:creator>Malte_Wienberg</dc:creator>
      <dc:date>2019-04-13T08:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50820#M458</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is port tcp_18208 enabled by default via Implied Rules?&amp;nbsp;In case of no, there is a need to have this port enabled at first:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/811iAF5E762C59EABE14/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In case you are using MDS, you need to be inside CMA where the gateway is managed from.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Developers-API-CLI/cprid-util-for-vsx/td-p/10319" target="_blank" rel="noopener"&gt;Support for VSX would be really great &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There is a very similar script already mentioned:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk101047" target="_blank" rel="noopener"&gt;How to manage Security Gateway using the "cprid_util" tool&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 13:04:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50820#M458</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2019-04-13T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50826#M459</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1702"&gt;@JozkoMrkvicka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TCP 18208 (FW1_CPRID) is always included in inplied rules between management and gateway&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 13:44:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50826#M459</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-13T13:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50827#M460</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1702"&gt;@JozkoMrkvicka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More infos to implied rules can you found here in a other article from me:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/R80-x-Ports-Used-for-Communication-by-Various-Check-Point/td-p/38153" target="_self"&gt;R80.x Ports Used for Communication by Various Check Point Modules&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 13:49:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50827#M460</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-13T13:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50828#M461</link>
      <description>&lt;P&gt;I just tested it in a vsx environment. Works also&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;!&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# g_bash 1.1.1.1 vsenv3; cphaprob stat&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 13:56:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50828#M461</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-13T13:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50833#M462</link>
      <description>&lt;P&gt;I changed it.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 16:44:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50833#M462</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-13T16:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50844#M463</link>
      <description>&lt;P&gt;If I execute this command I become a NULL.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 06:45:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50844#M463</guid>
      <dc:creator>Werner_Oberbaue</dc:creator>
      <dc:date>2019-04-14T06:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50849#M464</link>
      <description>&lt;P&gt;If you become a NULL it is not a valid gateway IP address.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 10:40:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50849#M464</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-14T10:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50859#M465</link>
      <description>&lt;P&gt;Maybe in future updates, you can include checks if provided IP is valid IP of any of managed gateways ?&lt;/P&gt;
&lt;P&gt;The original script can be slightly modified, but the core logic can be found:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?action=portlets.SearchResultMainAction&amp;amp;eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk85621" target="_blank" rel="noopener"&gt;How to get a list of all managed Security Gateways from Multi-Domain Management Server&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For SMS, it can be a little bit tricky, as there is only a tool "query" with no option to print the needed parameters (like IP).&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 11:00:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50859#M465</guid>
      <dc:creator>JozkoMrkvicka</dc:creator>
      <dc:date>2019-04-14T11:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50869#M466</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1702"&gt;@JozkoMrkvicka&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Yes,&amp;nbsp;I still have some ideas what you can change in this script.&lt;/P&gt;
&lt;P&gt;- Check gateway IP's&lt;/P&gt;
&lt;P&gt;- Copy files to and from all gateways. For example copy all "/var/log/messages" to the management server.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I still have some crazy ideas. They will follow in the next days.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 11:57:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50869#M466</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-14T11:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands from management on gateways!</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50870#M467</link>
      <description>&lt;P&gt;I also used $FWDIR here so it would work under all versions.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;echo "more $FWDIR/conf/objects.C |grep -B 30  "sic_name" |grep ipaddr |sed 's/^ \t//' |sed s/:ipaddr/'Gateway IP: '/ | sed s/\(// | sed s/\)//" &amp;gt; /usr/local/bin/g_show
chmod 777 /usr/local/bin/g_show&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 12:01:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50870#M467</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-14T12:01:36Z</dc:date>
    </item>
  </channel>
</rss>

