SIP-2
125/145
USER GUIDE - Rev. 3 (January 2018)
set
This changes the value stored in the configuration parameters or in the
attributes of an item in a matrix-type parameter.
Syntax
:
drn />
set
[name][[nº][/name2]]
Arguments
:
-
name
name of the parameter to be changed.
nº
item number of a matrix-type parameter
name2
name of an attribute in a matrix-type parameter
Observations
:
When this command is executed the system waits for the
new value to be entered.
The parameter to be changed must be in the current
directory or its relative route must be entered.
In the case of wanting to change the value of any attribute
in the item of a matrix-type parameter, the argument must
include the parameter name, the item number and the
attribute number.
Special attention should be paid when entering the
arguments of this command, as if no argument is
indicated the system will request the new value of each
of the parameters in the active directory and its
subdirectories, one by one. Consequently, if the
set
command is executed without an argument in the root
directory, the system will request a new value for all the
equipment configuration parameters.
If the
set
command is applied to a matrix-type parameter
without indicating the attribute to be modified, the
system will request a new value for each attribute of the
indicated item. If the item number is omitted, the new
values entered for each attribute will be applied to the
last item in the matrix.
Examples
:
drn /main>
set hostname
drn />
set main/hostname
drn /admin>
set ../main/hostname
drn />
set nat[2]/origin