- Products
- Learn
- Local User Groups
- Partners
-
More
Join Us for CPX 360
23-24 February 2021
Important certificate update to CloudGuard Controller, CME,
and Azure HA Security Gateways
How to Remediate Endpoint & VPN
Issues (in versions E81.10 or earlier)
IDC Spotlight -
Uplevel The SOC
Important! R80 and R80.10
End Of Support around the corner (May 2021)
Hi Everyone ,
This could be very useful script for enterprise customer where check point gateways are being managed by MDS or Management server . There are many common changes that needs to be done on individual gateway , For example configuring syslog ,NTP , SNMP . In many of the cases customer needs to get some information from all individual gateway like version ,Hotfix ,what all blades are enabled .
Script is based on sk85621 and sk101047 .
Below is the bash code for script to run bash / clish command on multiple gateway which has working SIC .
gateway_ip_list.txt is located in current directory which has IP of all the gateways
****************************************
[Expert@Management:0]# cat rcommand.sh
#!/bin/bash
echo "Do you want to run bash or clish command"
read shell
echo "please input the $shell command to run on all the gateway"
read input
for dest in $(<gateway_ip_list.txt); do
echo "running the $shell command $input on $dest "
cprid_util -server $dest -verbose rexec -rcmd /bin/$shell -c "$input"
done
[Expert@Management:0]#
********************************************
Please refer the attached pdf .
Watch a demo here :
About CheckMates
Learn Check Point
Advanced Learning
WELCOME TO THE FUTURE OF CYBER SECURITY