NetModule NB3700 User Manual page 168

Hide thumbs Also See for NB3700:
Table of Contents

Advertisement

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
cliphp . status=1
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
usr
pwd
command
arg0 . . arg31
Notes :
The commands correspond to CLI commands as seen by
arguments ( arg0 . . arg31 ) will be directly passed to cli .
Thus , an URL containing the following sequence :
NB3700 User Manual 3.8
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
168
cli
l , the

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents