<?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 GAIA - Easy execute CLI commands on all gateways simultaneously in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50883#M385</link>
    <description>&lt;P&gt;Now you can use the new command "gw_mbash" and "g_mclish" to execute bash or clish commands on all gateway simultaneously from the management server. All you have to do is copy and paste the above lines to the management server. After that you have two new commands on the management server. Here you can now centrally execute simple commands on all gateways which are connected via SIC with the management.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="escc123.JPG" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/9431iB4478A57D0E81B1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="escc123.JPG" alt="escc123.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 100%;" border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 100%; background-color: #eeeeee;"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Attention!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;You can quickly destroy your gateways if you enter the wrong commands!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Command syntax:&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%; background-color: #444444;"&gt;&lt;FONT color="#FFFFFF"&gt;Command&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="width: 50%; background-color: #444444;"&gt;&lt;FONT color="#FFFFFF"&gt;Description&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="width: 50%;"&gt;
&lt;P&gt;# &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;gw_detect&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#999999"&gt;#&lt;/FONT&gt; gw_detect80&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="width: 50%;"&gt;
&lt;P&gt;Detect all your gateways that support from this tool.&amp;nbsp;This command only needs to be executed once or when gateways changed in topology.&lt;BR /&gt;&lt;BR /&gt;All founded gateways are stored as IP address in this file /var/log/g_gateway.txt. All added IP addresses will be used later to execute commands on these gateways. The file can also be edit manually to add gateway IP adressess.&lt;FONT color="#FF0000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The execution of this command may take a few minutes.&lt;/P&gt;
&lt;P&gt;Use this command on R80.x gateways "&lt;FONT color="#FF0000"&gt;gw_detect80&lt;/FONT&gt;" is a little bit faster.&lt;/P&gt;
&lt;P&gt;Use this command on R77.x gateways "&lt;FONT color="#FF0000"&gt;gw_detect&lt;/FONT&gt;".&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="width: 50%;"&gt;# &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;gw_mbash&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#339966"&gt;&amp;lt;command&amp;gt;&lt;/FONT&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="width: 50%;"&gt;Execute expert mode command &lt;FONT color="#FF0000"&gt;on all gateway&lt;/FONT&gt;
&lt;H2 class="message-subject"&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class="lia-message-read"&gt;&amp;nbsp;simultaneously&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/H2&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="width: 50%;"&gt;# &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;gw_mclish&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#339966"&gt;&amp;lt;command&amp;gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="width: 50%;"&gt;Execute clish command &lt;FONT color="#FF0000"&gt;on all gateway&lt;/FONT&gt;
&lt;H2 class="message-subject"&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class="lia-message-read"&gt;&amp;nbsp;simultaneously&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/H2&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;An example!&lt;/P&gt;
&lt;P&gt;You want see the version of all gateway they are defined in the topology.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 100%;" border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 100%;"&gt;
&lt;P&gt;Management# &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;gw_detect&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;-&amp;gt; start this command fist to detect all your supported gateways or "gw_detect80" on R80.x gateways&lt;/FONT&gt;&lt;BR /&gt;Management#&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;gw_mclish &lt;/STRONG&gt;&lt;FONT color="#339966"&gt;show version os edition&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;-&amp;gt; execute this command on all gateways&lt;FONT color="#FF0000"&gt;&lt;FONT color="#339966"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#339966"&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="multibash4.PNG" style="width: 487px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/838i5D074FB383D7BDE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="multibash4.PNG" alt="multibash4.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Now the command "show version os edition" is executed on all gateways and the output is displayed on the management server sorted according to the ip addresses of the gateways in the firewall topologie.&lt;/P&gt;
&lt;P&gt;The same also works for the expert mode. For example:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 100%;" border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 100%;"&gt;
&lt;P&gt;Management# &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;gw_detect&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;-&amp;gt; start this command fist to detect all your supported gateways or "gw_detect80" on R80.x gateways&lt;/FONT&gt;&lt;BR /&gt;Management#&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;gw_mbash &lt;/STRONG&gt;&lt;FONT color="#339966"&gt;fw ver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;-&amp;gt; execute this command on all gateways&lt;FONT color="#FF0000"&gt;&lt;FONT color="#339966"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="multibash3.PNG" style="width: 483px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/837i83F16A093349F502/image-size/large?v=v2&amp;amp;px=999" role="button" title="multibash3.PNG" alt="multibash3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 100%;" border="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 100%; background-color: #eeeeee;"&gt;&lt;STRONG&gt;Tip 1&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="width: 100%;"&gt;
&lt;P&gt;Use this command to backup your clish configs from all gateways.&lt;/P&gt;
&lt;P&gt;Management# &lt;FONT color="#FF0000"&gt;gw_mclish show configuration &amp;gt; backup_clish_all_gateways.txt&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;This can also be start as simply cronjob&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 100%; height: 70px;" border="1"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 24px;"&gt;
&lt;TD style="width: 100%; height: 24px; background-color: #eeeeee;"&gt;&lt;STRONG&gt;Tip 2&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 46px;"&gt;
&lt;TD style="width: 100%; height: 46px;"&gt;
&lt;P&gt;Check central performance settings for all gateways:&lt;/P&gt;
&lt;P&gt;Management# &lt;FONT color="#FF0000"&gt;gw_mbash fw tab -t connections -s&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; show state table for all gateways&lt;/P&gt;
&lt;P&gt;Management# &lt;FONT color="#FF0000"&gt;gw_mbash fwaccel stat&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; show&amp;nbsp; fwaccel state's for all gateways&lt;BR /&gt;&lt;BR /&gt;Management# &lt;FONT color="#FF0000"&gt;gw_mbash ips stat&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; check on witch gateway ips is enabled&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Cppy and paste this lines to the management server or download the script "new_multi_commands.sh" and execute the script.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;echo '#!/bin/bash' &amp;gt; /usr/local/bin/gw_mbash
echo 'if [ ! -f /var/log/g_gateway.txt ]; then' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'echo "First start \"gw_detect\" and\or edit the file \var\log\gw_gateway.txt manually. Add here all your gateway IP addresses."' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'else' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'HAtest="$@"' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'echo $HAtest &amp;gt; /var/log/g_command.txt;' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'while read line' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'do' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'if $CPDIR/bin/cprid_util getarch -server $line |grep "gaia" &amp;gt; /dev/null;' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'then' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'echo "--------- GAIA $line execute command: $HAtest"' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo '$CPDIR/bin/cprid_util -server $line putfile -local_file /var/log/g_command.txt -remote_file /var/log/g_command.txt;' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo '$CPDIR/bin/cprid_util -server $line -verbose rexec -rcmd /bin/bash -f /var/log/g_command.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'else' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'echo "--------- STOP $line Error:  no SIC to gateway or no compatible gateway"' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'fi' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'done &amp;lt; /var/log/g_gateway.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
echo 'fi' &amp;gt;&amp;gt; /usr/local/bin/gw_mbash
chmod +x /usr/local/bin/gw_mbash

echo '#!/bin/bash' &amp;gt; /usr/local/bin/gw_mclish
echo 'if [ ! -f /var/log/g_gateway.txt ]; then' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'echo "First start \"gw_detect\" and\or edit the file \var\log\gw_gateway.txt manually. Add here all your gateway IP addresses."' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'else' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'HAtest="$@"' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'echo $HAtest &amp;gt; /var/log/g_command.txt;' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'while read line' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'do' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'if $CPDIR/bin/cprid_util getarch -server $line |grep "gaia" &amp;gt; /dev/null;' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'then' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'echo "--------- GAIA $line execute command: $HAtest"' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo '$CPDIR/bin/cprid_util -server $line putfile -local_file /var/log/g_command.txt -remote_file /var/log/g_command.txt;' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo '$CPDIR/bin/cprid_util -server $line -verbose rexec -rcmd /bin/clish -f /var/log/g_command.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'else' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'echo "--------- STOP $line Error:  no SIC to gateway or no compatible gateway"' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'fi' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'done &amp;lt; /var/log/g_gateway.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
echo 'fi' &amp;gt;&amp;gt; /usr/local/bin/gw_mclish
chmod +x /usr/local/bin/gw_mclish

echo '#!/bin/bash' &amp;gt; /usr/local/bin/gw_detect
echo 'echo -n &amp;gt; /var/log/g_gateway.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo "more $FWDIR/conf/objects.C |grep -A 500 -B 1  ':type (gateway)'| sed -n '/gateway/,/:ipaddr (/p' | grep 'ipaddr (' | sed 's/^[ \t]*//' | sed 's/\:ipaddr (//' |sed 's/)//' &amp;gt; /var/log/g_gwl.txt" &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'while read line' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'do' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'if $CPDIR/bin/cprid_util getarch -server $line |grep "gaia" &amp;gt; /dev/null;' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'then' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'echo "--------- GAIA $line "' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'echo "$line" &amp;gt;&amp;gt; /var/log/g_gateway.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'else' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'echo "--------- STOP no SIC to gateway or no compatible gateway"' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'fi' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
echo 'done &amp;lt; /var/log/g_gwl.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_detect
chmod +x /usr/local/bin/gw_detect

echo '#!/bin/bash' &amp;gt; /usr/local/bin/gw_detect80
echo 'echo -n &amp;gt; /var/log/g_gateway.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo "mgmt_cli -r true show gateways-and-servers details-level full --format json | $CPDIR/jq/jq -r '.objects[] | select(.type | contains(\"Member\",\"simple-gateway\")) | .\"ipv4-address\"' |grep -v null|grep -v 0.0. &amp;gt; /var/log/g_gwl.txt" &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'while read line' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'do' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'if $CPDIR/bin/cprid_util getarch -server $line |grep "gaia" &amp;gt; /dev/null;' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'then' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'echo "--------- GAIA $line "' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'echo "$line" &amp;gt;&amp;gt; /var/log/g_gateway.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'else' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'echo "--------- STOP no SIC to gateway or no compatible gateway"' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'fi' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
echo 'done &amp;lt; /var/log/g_gwl.txt' &amp;gt;&amp;gt; /usr/local/bin/gw_detect80
chmod +x /usr/local/bin/gw_detect80
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More "Easy Tools":&lt;/P&gt;
&lt;P&gt;- &lt;SPAN class="lia-message-read"&gt;&lt;A class="page-link lia-link-navigation lia-custom-event" href="https://community.checkpoint.com/t5/General-Topics/Easy-Backup-Tool-migrate-export-all-GAIA-configs/td-p/79632/jump-to/first-unread-message" target="_blank" rel="noopener"&gt;Easy Backup Tool - (migrate export + all GAIA configs)&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; Easy backup of all gateway GAIA configs + migrate export with one CLI command.&lt;BR /&gt;- &lt;A href="https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50883/highlight/true#M3783" target="_self"&gt;Easy execute CLI commands on all gateways simultaneously&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp; Now you can use the new command to execute bash or clish commands on all gateway simultaneously.&lt;BR /&gt;- &lt;A href="https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/GAIA-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50764/highlight/true#M3759" target="_self"&gt;Easy execute CLI commands from management on gateways&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; &lt;SPAN class="lia-message-read"&gt;Easy execute CLI commands from management on gateways&lt;BR /&gt;&lt;/SPAN&gt;- &lt;A class="page-link lia-link-navigation lia-custom-event" href="https://community.checkpoint.com/t5/General-Topics/R80-x-Mobile-User-License-Tool-replaced-quot-dtps-lic-quot/td-p/78848/jump-to/first-unread-message" target="_blank" rel="noopener"&gt;Mobile User License Tool - replaced "dtps lic"&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; &lt;FONT style="background-color: #f8f8fa;"&gt;&lt;SPAN&gt;It displays all Secure Client, SSL VPN and Mobile Access Portal licenses in total (sum) on the SMS.&lt;BR /&gt;- &lt;A href="https://community.checkpoint.com/t5/General-Topics/Easy-View-Tool-system-infos-from-all-gateways-simultaneously/td-p/81438" target="_self"&gt;Easy View Tool - (system infos from all gateways simultaneously)&lt;/A&gt; -&amp;gt; This toll shows you quickly an overview of status information of all your gateways with only one CLI command.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Versions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;v0.1&amp;nbsp; &amp;nbsp; -&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;04-14-2019 - gw_multi_commands_v0.1.sh -&amp;gt; beta&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;v0.2&amp;nbsp; &amp;nbsp; - 04-16-2019 - gw_multi_commands_v0.2.sh -&amp;gt; remove bugs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;v0.3&amp;nbsp; &amp;nbsp; - 04-17-2019 - gw_multi_commands_v0.3.sh -&amp;gt; split to two commands (gw_detect and the old commands)&lt;BR /&gt;v0.4a&amp;nbsp; - 05-05-2019 - gw_multi_commands_v0.4.sh -&amp;gt; add command "gw_detect80"&lt;BR /&gt;v0.4b&amp;nbsp; - 01-27-2026 - Version for R82+&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Video tutorial:&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-9wdnRtaDE62K43G6H0BgrmwVXzp0YJzvw822h520r943" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6065295084001" 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-9wdnRtaDE62K43G6H0BgrmwVXzp0YJzvw822h520r943');  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/9wdnRtaDE62K43G6H0BgrmwVXzp0YJzv"&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;
&lt;P&gt;Copyright by Heiko Ankenbrand 1996-2019&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jun 2026 12:06:22 GMT</pubDate>
    <dc:creator>HeikoAnkenbrand</dc:creator>
    <dc:date>2026-06-10T12:06:22Z</dc:date>
    <item>
      <title>GAIA - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50883#M385</link>
      <description>7</description>
      <pubDate>Wed, 10 Jun 2026 12:06:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50883#M385</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2026-06-10T12:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50889#M386</link>
      <description>&lt;P&gt;Is it possible to add backup jobs over the clish for all gateways?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 16:37:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50889#M386</guid>
      <dc:creator>Y__Bakisli</dc:creator>
      <dc:date>2019-04-14T16:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50892#M387</link>
      <description>&lt;P&gt;Yes, exactly for such purposes I created this script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 16:56:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50892#M387</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-14T16:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50893#M388</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/25324"&gt;@Y__Bakisli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example you can backup all GAIA gateway clish configs with "g_multicli show configuratinon &amp;gt; config_backup.txt" to the management server.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 17:01:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50893#M388</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-14T17:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50894#M389</link>
      <description>brilliant.but destroy faster.hahah...</description>
      <pubDate>Sun, 14 Apr 2019 17:32:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50894#M389</guid>
      <dc:creator>Dawei_Ye</dc:creator>
      <dc:date>2019-04-14T17:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50896#M390</link>
      <description>&lt;P&gt;We have 70 firewalls worldwide and I have to back up the clish configuration weekly.&lt;/P&gt;&lt;P&gt;That's a brilliant solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 18:44:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50896#M390</guid>
      <dc:creator>Dan_Deutzmann</dc:creator>
      <dc:date>2019-04-14T18:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50904#M391</link>
      <description>&lt;P&gt;Here a other interresting version:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/NEW-Easy-execute-CLI-commands-from-management-on-gateways/m-p/50872/highlight/false#M3781" target="_self"&gt;Easy execute CLI commands from management on gateways!&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 06:21:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50904#M391</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-15T06:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50923#M393</link>
      <description>&lt;P&gt;This is a very great script.&lt;/P&gt;&lt;P&gt;I have started a local snapshot at all gateways without to do this on 30 appliances manually.&lt;/P&gt;&lt;P&gt;# g_multicli add snapshot R80.10_20190415&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:06:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50923#M393</guid>
      <dc:creator>Patrik_Sobol</dc:creator>
      <dc:date>2019-04-15T09:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50927#M394</link>
      <description>Heiko,&lt;BR /&gt;This really is a very useful add-on to the cprid_util, Is there a way to differentiate between SMB and normal GAIA gateways?&lt;BR /&gt;Command structure is quit a bit different.&lt;BR /&gt;I know that we can continue that path with versions etc, but this distinction would be a great add-on.</description>
      <pubDate>Mon, 15 Apr 2019 09:45:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50927#M394</guid>
      <dc:creator>Maarten_Sjouw</dc:creator>
      <dc:date>2019-04-15T09:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50961#M395</link>
      <description>&lt;P&gt;Nice script, but SMB GWs are an issue here: File with GW IPs only contains the SMB GW encountered first, so only an error for the SMB GW is displayed, as no other GW got listed...&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 14:49:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50961#M395</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2019-04-15T14:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50965#M396</link>
      <description>&lt;P&gt;I tested it today and it saves a lot of work.&lt;/P&gt;&lt;P&gt;Nice, nice, nice!&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 15:01:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50965#M396</guid>
      <dc:creator>Saleme_Sabaj</dc:creator>
      <dc:date>2019-04-15T15:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50966#M397</link>
      <description>&lt;P&gt;Check Point should include the commands in R80.30:-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 15:03:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50966#M397</guid>
      <dc:creator>Saleme_Sabaj</dc:creator>
      <dc:date>2019-04-15T15:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50971#M398</link>
      <description>&lt;P&gt;I see two issues with this suggestion:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. g_ sintax is reserved for multi-SGM commands on Scalable Platforms and Maestro&lt;/P&gt;
&lt;P&gt;2. R80.30 is closed now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 15:36:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50971#M398</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2019-04-15T15:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50975#M399</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're right the g_ syntax is used with 64k/61k/44k/41k and maestro.&lt;/P&gt;
&lt;P&gt;I'll change this to gw_ in the next few days.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 16:59:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50975#M399</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-15T16:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50976#M400</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/25629"&gt;@Saleme_Sabaj&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe with the version R80.40:-)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 18:30:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50976#M400</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-16T18:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50979#M401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21294"&gt;@G_W_Albrecht&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll see how I can fix this bug.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to find a parameter in objects.C that can be used to identify SMB appliances.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 17:08:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/50979#M401</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-15T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/51023#M402</link>
      <description>&lt;P&gt;You can discriminate SMB GWs in Objects.C by the parameter&lt;/P&gt;
&lt;P&gt;:slim_fw_hardware_type&lt;/P&gt;
&lt;P&gt;that is not present in GAiA GWs. Values can be e.g. ("1430/1450") as slected in Dashboard or (CIP) for 1200R.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 07:33:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/51023#M402</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2019-04-16T07:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/51029#M403</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21670"&gt;@HeikoAnkenbrand&lt;/a&gt;&amp;nbsp;Fine we me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 09:03:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/51029#M403</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2019-04-16T09:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/51088#M404</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have renamed the commands as follows:&lt;/P&gt;
&lt;P&gt;gw_mbash&lt;/P&gt;
&lt;P&gt;gw_mclish&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 17:00:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/51088#M404</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-16T17:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - Easy execute CLI commands on all gateways simultaneously</title>
      <link>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/51089#M405</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21294"&gt;@G_W_Albrecht&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I already tested with this parameter. Unfortunately it is not set at all SMB appliances. &lt;/P&gt;
&lt;P&gt;I need a parameter that is unique on real gateway. I must find it with grep.&lt;/P&gt;
&lt;P&gt;I compared&amp;nbsp; with diff&amp;nbsp; gateway objects 3 hours on the weekend&amp;nbsp; . I didn't find any parameter:-(&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Heiko&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:59:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/GAIA-Easy-execute-CLI-commands-on-all-gateways-simultaneously/m-p/51089#M405</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-04-16T16:59:32Z</dc:date>
    </item>
  </channel>
</rss>

