Managing Network objects

This section describes how to create and remove objects.

To modify an object, use the same commands as to create it, and add the update=1 parameter:

Example to modify a Host object:

CONFIG OBJECT HOST NEW name=DNS_SRV comment="DNS Server" ip="192.168.250.152" resolve=static mac="" update=1
CONFIG OBJECT ACTIVATE

Host object

Creating a Host object

  • Name: DNS_SRV,
  • Comment: DNS Server,
  • IP Address: 192.168.250.150,
  • MAC Address: 0A:00:27:00:00:28.

 

CONFIG OBJECT HOST NEW name=DNS_SRV comment="DNS Server" ip="192.168.250.150" resolve=static mac="0A:00:27:00:00:28"
CONFIG OBJECT ACTIVATE

Removing a Host object

CONFIG OBJECT HOST DELETE name=DNS_SRV force=1