EasyManua.ls Logo

NetModule NB3700 - Page 168

NetModule NB3700
194 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NB3700 User Manual 3.8
6.15. Working with History
The history command will print the list of entered commands on a per-user basis.
> history h
Usage :
history [c ]
It can be cleared by history -c.
6.16. CLI-PHP
CLI-PHP, the 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 Service is disabled
cliphp . status=1 Service is enabled
This section describes the CLI-PHP interface for Version 2. It accepts POST and GET
requests.
Running with GET requests, the general usage is defined as follows:
Usage :
http ( s ) : / / cli . php?<key1>=<value1>&<key2>=<value2 >..<keyN>=<valueN>
Available keys :
output Output format ( html , plain )
usr Username to be used for authentication
pwd Password to be used for authentication
command Command to be executed
arg0 . . arg31 Arguments passed to commands
Notes :
The commands correspond to CLI commands as seen by ' cli l ' , the
arguments ( arg0 . . arg31 ) will be directly passed to cli .
Thus , an URL containing the following sequence :
168

Table of Contents

Related product manuals