
NB3720
User Manual for NRSW version 4.4
6.13. Resetting System
The
reset
command can be used to reset the router back to factory defaults.
>
reset
−
h
Usage
:
reset
[
−
h
]
6.14. Rebooting System
The
reboot
command can be used to reboot the router.
>
reboot
−
h
Usage
:
reboot
[
−
h
]
6.15. Running Shell Commands
The
shell
command can be used to execute a system shell and run any arbitrary application or script.
>
shell
−
h
Usage
:
shell
[
−
h
] [ <
cmd
> ]
6.16. 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.17. 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.
188