CLI CONSOLE

SNS firewalls provide a command line interface (CLI) that uses a set of proprietary commands. The commands are available via a shell and make it possible to configure and monitor all firewall features.

The CLI shell can be accessed via a secure protocol, NSRPC (NETASQ Secure Remote Procedure Call), either locally on the firewall in the System > CLI Console module, or remotely from a host by using dedicated Windows and Linux executable files.

The CLI console module on the firewall consists of two parts:

  • The list of commands in the upper part of the window, which is a text section;
  • A data entry section at the bottom of the window.

Commands entered can be saved using the "Save" button located in the upper banner of the web administration interface. This feature must be enabled beforehand in Preferences.

List of commands

By default, the screen shows the main commands that can be executed. Some commands may involve others. To view all commands, run the command of your choice. The list will display the additional commands included in it.

You can also use the HELP argument with a command to display help on its arguments. For example:

CONFIG HELP

To obtain the full list of executable commands, refer to the CLI/Serverd commands reference guide.

Data entry section

In the data entry section, write the command that you wish to execute.

You can browse through the various commands that have already been executed by using the Up/Down buttons on the keyboard. Command history is stored and re-used every time the web application is launched.

Clear display This button makes it possible to erase the current display on the CLI console.
Launch This button makes it possible to launch the command that was entered. You can also press Enter on the keyboard to execute the command.
Multiline mode

Select this checkbox to run a command block. This command block may, for example, be generated from a recorded sequence of commands (Record commands button).

Stop if error This checkbox is available only if multiline mode has been enabled. Select this checkbox to interrupt the command sequence as soon as the first error is encountered.