NB3000-Line-Hd User Manual 4.2
set - Set configuration parameter
Key usage
:
command
=
set
&
arg0
=<
config
−
key
>&
arg1
=<
config
−
value
>[&
arg2
=<
config
−
key
>&
arg3
=<
config
−
value
> . . ]
Notes
:
In contrast to the other commands
,
this command requires a set of tuples
because of the reserved
' = '
char
,
i
.
e
.
[
arg0
=
key0
,
arg1
=
val0
] ,
[
arg2
=
key1
,
arg3
=
val1
] ,
[
arg4
=
key2
,
arg5
=
val2
] ,
etc
Examples
:
http
: / / 1 9 2 . 1 6 8 . 1 . 1 /
cli
.
php
?
version
=2&
output
=
html
&
usr
=
admin
&
pwd
=
admin01
&
command
=
set
&
arg0
=
snmp
.
status
&
arg1
=1
http
: / / 1 9 2 . 1 6 8 . 1 . 1 /
cli
.
php
?
version
=2&
output
=
html
&
usr
=
admin
&
pwd
=
admin01
&
command
=
set
&
arg0
=
snmp
.
status
&
arg1
=0&
arg2
=
openvpn
.
status
&
arg3
=1
restart - Restart a system service
Key usage
:
command
=
restart
&
arg0
=<
service
>
Notes
:
Available services can be retrieved by running
'
command
=
restart
&
arg0
=
−
h
'
Examples
:
http
: / / 1 9 2 . 1 6 8 . 1 . 1 /
cli
.
php
?
version
=2&
output
=
html
&
usr
=
admin
&
pwd
=
admin01
&
command
=
restart
&
arg0
=
−
h
http
: / / 1 9 2 . 1 6 8 . 1 . 1 /
cli
.
php
?
version
=2&
output
=
html
&
usr
=
admin
&
pwd
=
admin01
&
command
=
restart
&
arg0
=
link
−
manager
reboot - Trigger system reboot
Key usage
:
command
=
reboot
Examples
:
http
: / / 1 9 2 . 1 6 8 . 1 . 1 /
cli
.
php
?
version
=2&
output
=
html
&
usr
=
admin
&
pwd
=
admin01
&
command
=
reboot
reset - Run factory reset
Key usage
:
187