• Entering more parameters in both units
cli_cnf_set -t b RADIO_TX_CHAN=17128000 PEER_RADIO_RX_CHAN=17128000
• Put parameters containing spaces in quotation marks:
cli_time_set -t b -T '2012-11-27 10:55:00'
Set time in both units
6.2.1. SSH keys
• Generation using ssh-keygen
[user@laptop ~]$ ssh-keygen -t dsa -f usr_ssh_key
Uses working directory to save private
usr_ssh_key
and public part of the key
usr_ssh_key.pub
• Copying the key into the RAy unit
[user@laptop ~]$ scp usr_ssh_key.pub admin@192.168.141.202:/tmp
The public part of the key is written to the folder
/tmp
• Installation of key in RAy unit
CLI(admin):/rrusrhomes/admin$ cli_user_authkey -c a -k /tmp/usr_ssh_key.pub
• Testing access to RAy unit using SSH key
[user@laptop ~]$ ssh -i usr_ssh_key admin@192.168.141.202
6.2.2. Scripts
• Script example with access using key
[user@laptop ~]$ ssh -i usr_ssh_key admin@192.168.141.202
"source /etc/profile;cli_info_link;echo \$?;cli_cnf_show | grep TX_PWR;echo $?"
Warning: Permanently added '192.168.141.202' (DSA) to the list of known hosts.
cli_info_link: Link status: up
0
RADIO_TX_PWR=4
0
[user@laptop ~]$
• The script contains:
environment settings
source /etc/profile;
query for link status
cli_info_link;
reading return value
echo \$?;
query for radio power
cli_cnf_show | grep TX_PWR;
reading return value
echo \$?
return value
cli_info_link: Link status:up
OK command
0
power +4 dBm
RADIO_TX_PWR=4
OK command
0
RAy3 Microwave Link – © RACOM s.r.o.
178
Command Line Interface
Summary of Contents for RAy3-11
Page 2: ......