User's Manual

Table Of Contents
8.3. Configuration with CLI
8.3.1. Configuration file
Configuration backup
cli_cnf_backup_get
Saves the configuration of both units to file cnf_backup.tgz into the working directory.
Configuration restore
cli_cnf_set -t b -b cnf_backup.tgz
Restores configuration of both units from file cnf_backup.tgz
Default configuration list
cli_cnf_def_show
Warning, the command
cli_cnf_factory_set
is not a default setting - it uses factory settings, deleting all logs and saved data. It is very likely that
the connection to peer unit will be interrupted!
8.3.2. Firmware upgrade
Current version of fw
cli_info_station
Preparation of files
fw package, for example bm4-RACOM-0.1.12.0.cpio copy using ssh or putty into folder /tmp
in RAy17
Command
cli_fw_clear_buffer
Clears the RAy2 buffer
cli_fw_buffer_status
Checks buffer status
Saving into buffers
cli_fw_load_package -f /tmp/bm4-RACOM-0.1.12.0.cpio
A new fw package is loaded into the buffer (20 sec)
cli_fw_upload2peer
The fw package is also loaded into the peer unit (20 sec)
Upgrade
cli_fw_upgrade -t b
Firmware in both units will be replaced with new version from the buffer. After 3 minutes, this message
appears:
Firmware upgrade started. Estimated time to finish is 370 s.
Connection is terminated. After a few minutes, log in to RAy2 again
8.3.3. Remote unit authorization
The RAy2 unit in default configuration, establishes a connection with any remote unit and both units
act as a communication pair. Should the higher protection from the unauthorized communication take-
over be required, it is possible to use the so called Secured mode of remote unit authorization. This
mode is based on locking the two specific units into one communication pair. Units with Secured mode
RAy2 Microwave Link © RACOM s.r.o.168
Command Line Interface