Radio Ceragon CLI
Radio Ceragon CLI
Radio Ceragon CLI
CLI
(Command Line Interface)
User Guide
Part ID: BM-0134-0
Doc ID: DOC-00018394 Rev a.01
May 2008
Contents
General .......................................................................................................... 1
Getting Started.............................................................................................. 2
Command Groups......................................................................................... 5
CLI Commands.............................................................................................. 8
CLI Command Parameters ..........................................................................11
FibeAir IP-10 CLI Guide 1
General
This guide explains how to work with the FibeAir IP-10 Command Line Interface (CLI).
The CLI is used to perform IP-10 configuration and obtain system statistical and performance
information.
Using the CLI, you can perform configuration operations for single IP-10 units, as well as configure
several
IP-10 units in a single batch command.
Access Rights
IP-10 CLI access is granted for the following user groups:
Viewer This user only has read-only access. The user can only view parameters and their values,
not
modify them.
Operator This user has read-write access. The user can read parameters and their values, and
modify
them. However, this user cannot add or remove other users.
Admin This user has read-write access. The user can read parameters and their values, modify
them,
and add/remove other users.
Technician This user has read-write access to the CLI, as well as access to a bridge-specific CLI
shell.
User access is controlled by the system administrator and configured via the Management command
group
(shown in the Command Groups section).
FibeAir IP-10 CLI Guide 2
Getting Started
To log in to the CLI:
1. Power on your PC.
2. Make sure that your PC is connected to the management port on the front panel of the IP-10 unit.
3. For a first-time login, use the following:
User: admin
Password: admin
Note: When using the Hyper Terminal, you should set the terminal speed (in your PC terminal
configuration) to 155200 kpbs. In addition, it is recommended to select the VT-100 terminal type
and set the
terminal size to 24 rows, 80 columns.
Getting Help
Once you are logged in, you can go to a main command group and its sub groups, type the
command you
want, and press Tab twice for a list of possible parameter values.
In addition, you can type a command and then type a question mark (?) for location-specific
information for
the command. For example, for the set command, typing set ? and pressing Enter will display a list
of
optional parameters and a help line.
Wherever you are in the command tree, you can obtain a list of available commands by typing Help
or ?.
The commands that are available are different for each location in the CLI tree and the type of user.
Basic Commands
The following basic commands are available when you first log in, if you belong to the Operator
user group:
ls list entities
get get parameter
set set parameter
help help
cd change directory
exit exit CLI
logout logout from CLI
cli-ver cli version
cls clear screen
write write the current switch configuration to the configuration file
show-tree show entity tree
find search for a string in the parameter name and information fields
lsp list entity parameters and commands
In addition, you can use the up/down arrow keys, or the q key, when the word END appears at
the end
of the screen.
FibeAir IP-10 CLI Guide 3
Finding Commands
At any point in the CLI tree, a quick way to find a command is to type find string, and press Enter.
For string you can type any word that you think is relevant for a command.
For example, if you type find user, and press Enter, you would get a list of commands relating to
"user", as
follows:
1) management/mng-services/mng-software/proxy-user User name passed to the ...
2) management/mng-services/users/add-user Add user <name> <group>
3) management/mng-services/users/delete-user Delete user <name>
4) management/mng-services/users/show-users Show users
Command Example
The following example shows how you can find a command within a sub-group, and then execute
the
command. The example starts with the lsp (list parameters) command, and ends with the activation
of an
interface loopback test.
----------------------------------------------IP10:/>cddiagnostics/loopback/radioloopback/
IP10:/diagnostics/loopback/radioloopback>lsp
***********configuration********
timeoutrwLoopbacktimeoutinminutes
***********statuses*************
counterroLoopbacktimeleft
ifloopbackrwIFloopbackactivation
rfurfloopbackrwRFURFLoopbackEnableCommand
rfuifloopbackrwRFUIFLoopbackEnableCommand
IP10:/diagnostics/loopback/radioloopback>settimeout2
IP10:/diagnostics/loopback/radioloopback>setifloopback
offon
IP10:/diagnostics/loopback/radioloopback>setifloopbackon
Caution:Thisactionaffectstraffic.
ThemaycausepermanentlossofEthernettraffic&wayside.
ConsiderdisablingorphysicallydisconnectingtheEthernetportsofthe
IDMand
Waysidebeforetheloopbackactivation.
Areyousure?(yes/no):yes
IP10:/diagnostics/loopback/radioloopback>
----------------------------------------------Important!
Note that bridge related commands need to be followed by a write command to be saved.
Otherwise, the commands will not be saved following a reset in the system.
FibeAir IP-10 CLI Guide 4
Command Groups
The command groups that appear when you log in include the following:
Management
Platform
Radio
Interfaces
Diagnostics
Some groups include sub groups that enable setup operations relevant to that category.
The following illustrations show the trees of each main group.
Management
Management
FibeAir IP-10 CLI Guide 6
Platform
Radio
FibeAir IP-10 CLI Guide 7
Interfaces
Diagnostics
FibeAir IP-10 CLI Guide 8
CLI Commands
The following table lists the commands you can use in each command group and sub group.
Note that when you enter a group or sub group, you can type a command and then press the Tab
key twice
(or type a question mark) for a list of values relevant to that command.
Command Group Command Description
alarm-current show Show current alarms
bridge qos-show-ip-pbit-val Show IP pbits to queue allocation
bridge qos-show-vlan-priority Show QoS VLAN Priorities
bridge qos-show-vlan-tag-pbit-val Show VLAN tag pbits to queue allocation