Create A New Object - D-Link DFL-260E Reference Manual

Network security firewall cli
Hide thumbs Also See for DFL-260E:
Table of Contents

Advertisement

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
-silent
<Category>
<Identifier>
<key-value pair>
<Type>
Note
Requires Administrator privileges.
Chapter 2: Command Reference
Add object, even if it has errors.
Do not show any errors.
Category that groups object types.
The property that identifies the configuration
object. May not be applicable depending on the
specified <Type>.
One or more property-value pairs, i.e. <property
name>=<value> or <property name>="<value>".
Type of configuration object to perform operation
on.
23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dfl-2560gDfl-870Dfl-860eDfl-1660Dfl-2560

Table of Contents