beautypg.com

Set property values – Amer Networks E5 CLI User Manual

Page 27

background image

-unit

Reset unit to factory defaults.

Note

Requires Administrator privilege.

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 [] [] [-disable] [-enable]

[-force] []...

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.

Chapter 2: Command Reference

27

This manual is related to the following products: