dbedit scripts

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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