Checkpoint – Using dbedit to create and configure network, host and group objects

C:\>dbedit

Enter Server name (Press ENTER for 'localhost'):

Enter Administrator Name: fwadmin

Enter Administrator Password: abc

You are prompted: Please enter a command, -h for help or -q to quit:

dbedit> create network internal_net

dbedit> modify network_objects internal_net ipaddr 192.168.1.0

dbedit> modify network_objects internal_net netmask 255.255.255.0

dbedit> update network_objects internal_net

internal_net updated successfully.

dbedit> create host_plain web_server

dbedit> modify network_objects web_server ipaddr 192.168.1.1

dbedit> update network_objects web_server

web_server updated successfully.

dbedit> create network_object_group net_group

dbedit> addelement network_objects net_group '' network_objects:internal_net

dbedit> addelement network_objects net_group '' network_objects:web_server

dbedit> update network_objects net_group

net_group updated successfully.

dbedit> print network_objects net_groupObject Name: net_group

Object UID: {4F21F24F-9886-4603-84C7-A67F8B1FE2E6}

Class Name: network_object_group

Table Name: network_objects

Last Modified by: fwadmin

Last Modified from: taiko

Last Modification time: Wed Oct 08 19:29:08 2003

Fields Details

: Name: internal_net (Table: network_objects) Name: web_server (Table: network_objects)

color: black

comments:

member_class: network_object

members_query:

type: group

dbedit> quit

via Using dbedit to create and configure network, host and group objects.

This entry was posted in CheckPoint and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s