Note
Requires Administrator privileges.
2.1.10. set
Set property values.
Description
Set property values of configuration objects.
Specify the type of object you want to modify and the identifier, if the type has one. 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 hasn't been specified or if a property has an error a list of errors will be
shown after the specified properties have been set. If an invalid property or value type is
specified the command will fail and not modify the object.
See also: add
Example 2.5. Set property values
Set properties for objects that have an identifier property:
gw-world:/> set Address IP4Address example_ip Address=1.2.3.4
Comments="This is an example"
gw-world:/> set IP4Address example_ip2 Address=2.3.4.5
Comments=comment_without_whitespace
gw-world:/main> set Route 1 Comment="A route"
gw-world:/> set IPRule 12 Index=1
Set properties for an object without identifier:
gw-world:/> set DynDnsClientDyndnsOrg Username=example
Usage
set [<Category>] <Type> [<Identifier>] [-disable] [-enable]
[-force] [<key-value pair>]...
Options
-disable
Disable object. This option is not available if the
object is already disabled.
-enable
Enable object. This option is not available if the
object is already enabled.
-force
Set values, even if they contain errors.
<Category>
Category that groups object types.
<Identifier>
The property that identifies the configuration
Chapter 2: Command Reference
29
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...