# dbedit
# http://www.cpwiki.net/index.php/Creating_objects_with_dbedit
http://msdk.fusiondementes.net/
# creating a new host
create host_plain H.FW.angmar2
modify network_objects H.FW.angmar2 ipaddr 10.0.8.8
update network_objects H.FW.angmar2
modify network_objects H.FW.angmar2 comments “Created by fwadmin with dbedit”
# creating a new network
create network N.Trust.10.0.8.0–21
modify network_objects N.Trust.10.0.8.0–21 ipaddr 10.0.8.0
modify network_objects N.Trust.10.0.8.0–21 netmask 255.255.248.0
update network_objects N.Trust.10.0.8.0–21
# creating and adding objects to a group
create network_object_group group_name
addelement network_objects group_name network_objects:object_name
update network_objects group_name
# deleting an object
dbedit> delete network_objects <object_name>
Installing Policy with a Multi
–
Domain Server
To install the policy for a Domain Management Server, run the necessary Multi
–
Domain Server CLI
commands. You can run them individually or as part of a script
.
This sample script installs the
Standard
policy from Domain Management Server
Cust_CMA
on the
Security Gateway
examplegw
.
[Expert@mds]# mdsenv Cust_CMA
[Expert@mds]# dbedit –globallock -s Cust_CMA -u admin -p adminpw -f dbedit_createpolicy_objects.txt
[Expert@mds]# fwm load Standard examplegw
