Hi guys,
From the Domain Manager, I can get a list of CMAs from expert mode with the command: mdsstat; but how can I get a list of Firewalls per CMA?
CPUG: The Check Point User Group | |
Resources for the Check Point Community, by the Check Point Community.
| |
First, I hope you're all well and staying safe. | |
|
Hi guys,
From the Domain Manager, I can get a list of CMAs from expert mode with the command: mdsstat; but how can I get a list of Firewalls per CMA?
take a look at https://supportcenter.checkpoint.com...tionid=sk65181
http://dreezman.wordpress.com/2014/0...grepping-tool/
Code:# Check Point environment variables . /opt/CPshared/5.0/tmp/.CPprofile.sh # go to MDS context mdsenv mcd # iterate over the customers for CMA_NAME in $(ls -1 $MDSDIR/customers) do mdsenv ${CMA_NAME} mcd 1>> /dev/null 2>> /dev/null echo ” “ echo “Security Gateways on CMA ${CMA_NAME} :” echo “———————-” $MDSDIR/bin/cpmiquerybin attr “” network_objects “type=’gateway’|type=’cluster_member’|type=’gateway_cluster’” -a __name__,ipaddr,svn_version_name,appliance_type echo done exit
Bookmarks