
Description
Create a new object and add it to the configuration.
Specify the type of object you want to create and the identifier, if the type has one, unless the
object is identified by an index. Set the properties of the object by writing the propertyname
equals (=) and then the value. An optional category can be specified for some object types when
using tab completion.
If a mandatory property isn't specified a list of errors will be shown after the object is created. If
an invalid property or value type is specified or if the identifier is missing the command will fail
and not create an object.
Adjustments can be made after the object is created by using the set command.
Example 2.1. Create a new object
Add objects with an identifier property (not index):
gw-world:/> add Address IP4Address example_ip Address=1.2.3.4
Comments="This is an example"
gw-world:/> add IP4Address example_ip2 Address=2.3.4.5
Add an object with an index:
gw-world:/main> add Route Interface=lan
Add an object without identifier:
gw-world:/> add DynDnsClientDyndnsOrg DNSName=example Username=example
Usage
add [<Category>] <Type> [<Identifier>] [-force] [-silent]
[<key-value pair>]...
Options
-force
Add object, even if it has errors.
-silent
Do not show any errors.
<Category>
Category that groups object types.
<Identifier>
The property that identifies the configuration
object. May not be applicable depending on the
specified <Type>.
<key-value pair>
One or more property-value pairs, i.e. <property
name>=<value> or <property name>="<value>".
<Type>
Type of configuration object to perform operation
on.
Note
Requires Administrator privileges.
Chapter 2: Command Reference
23
Summary of Contents for NetDefend DFL-260E
Page 21: ...Chapter 1 Introduction 21...
Page 104: ...Chapter 2 Command Reference 104...
Page 240: ...Comments Text describing the current object Optional Chapter 3 Configuration Reference 240...
Page 317: ...Comments Text describing the current object Optional Chapter 3 Configuration Reference 317...