dbedit scripts

From cpwiki.net
Revision as of 01:32, 26 April 2013 by Nighthawk (Talk | contribs)

Jump to: navigation, search
Check Point Profressional Services


create hosts

for i in {1..12}; do \ echo "create network host_192.168.$i.0-24"; \ echo "modify network_objects host_192.168.$i.0-24 ipaddr 192.168.$i.0"; \ echo "update network_objects host_192.168.$i.0-24"; done

create networks

for i in {1..12}; do \ echo "create network net_192.168.$i.0-24"; \ echo "modify network_objects net_192.168.$i.0-24 ipaddr 192.168.$i.0"; \ echo "modify network_objects net_192.168.$i.0-24 netmask 255.255.255.0"; \ echo "update network_objects net_192.168.$i.0-24"; done