Cli-Php - NetModule NB2700 User Manual

Netmodule router
Hide thumbs Also See for NB2700:
Table of Contents

Advertisement

> shell
h
Usage :
shell [ h ] [<cmd >]

6.12. CLI-PHP

CLI-PHP, an HTTP frontend to the CLI application, can be used to configure and
control the router remotely. It is enabled in factory configuration, thus can be used for
deployment purposes, but disabled as soon as the admin account has been set up.
The service can later be turned on/off by setting the cliphp.status configuration
parameter:
cliphp . status=0
cliphp . status=1
This section describes the CLI-PHP interface for Version 2, the general usage is defined
as follows:
Usage :
http ( s ) : / / cli . php?<key1>= <value1>& <key2>= <value2 >..<keyN>= <
valueN>
Available keys :
output
usr
pwd
command
arg0 . . arg31
Notes :
The commands correspond to CLI commands as seen by
arguments
( arg0 . . arg31 ) will be directly passed to the cli application .
Thus , an URL containing the following sequence :
command=get&arg0=admin . password&arg1=admin . debug&arg2=admin .
access
will lead to cli being called as :
NB2700 User Manual
Service is disabled
Service is enabled
Output format ( html , plain )
Username to be used for authentication
Password to be used for authentication
Command to be executed
Arguments passed to commands
118
cli
l , the

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NB2700 and is the answer not in the manual?

Questions and answers

Table of Contents