8. CLI Configuration
CLI interface (Command Line Interface) is an alternative to web access. You can work with the CLI
interface in text mode using an appropriate client, either ssh (putty) or telnet.
CLI “login” and “password” are the same as those for web access via browser. Access using ssh keys
is also possible. Keys are unique for each individual RipEX Serial number. The public key is downloaded
in RipEX, for the private key kindly contact RACOM and provide RipEX S/N.
Connecting with a putty client. Type the following command into the window Host Name (or IP address):
Press Open. Then enter the password
admin
.
Thu Mar 31 10:56:47 CEST 2011
Welcome to RipEX Command Line Interface (CLI) on station: RipEX 50
For help try: cli_help
CLI(admin):~$
The
cli_help
command shows a list of all available functions. The commands can be completed
using the Tab key. If you select the command with the left mouse button, you can copy it to the clipboard
and then use the right mouse button to insert it into the location of the cursor. You can use the -t
parameter to send commands to remote RipEX’s. Every command gives a comprehensive help when
invoked with -h or –help parameter.
There are two ways how to execute the CLI command. It can either be executed in the interactive mode
or in the script mode.
In the interactive mode, you need to save, apply or cancel every command. If you choose the "save"
option, the change is stored in the buffer and it is not yet active. In this way, you can save several
commands in the buffer (e.g. change the frequency, COM settings and RF power) and "apply" all the
changes in one step. If you do not wish to save or apply the command, you can "cancel" it and issue
another command.
In the script mode, all the commands are automatically saved in the buffer without any confirmation.
When you need to apply the changes, issue the command cli_cnf_apply_change (in the script mode
again). The CLI commands can be used in the scripts thanks to this mode.
8.1. CLI Examples
An example of a parameter request for the COM1 port of the RipEX with IP 192.168.1.1:
CLI(admin):~$ cli_cnf_show_com 1 -t 10.10.10.2
COM link type: RS232 (RS232)
COM bitrate: 19200 (19200)
COM data bits: 8 (8)
COM parity: None (n)
COM stop bits: 1 (1)
COM idle size: 5 chars
205
© RACOM s.r.o. – RipEX Radio modem & Router
CLI Configuration
Summary of Contents for RipEX
Page 2: ......