CLI Reference
Using Smart CLI
076R200-000
SpectraComm IP Router Card
B-3
Issue 2
Installation and Operation Manual
___________Help for "configure interfaces ip-address "______________________
ip-address Configure interface IP address; requires 3 parameter(s)
interface name (ethernet0, modem0, serialn, serialn.nnn)
IP address (a.b.c.d)
IP mask (a.b.c.d)
IP broadcast address (a.b.c.d) (optional; default 255.255.255.255)
Entering a Command String
Each command string is executed by pressing the
Enter
key (or <
cr
>). The general syntax is:
command
<subcommand(s)>
if any
<required argument(s)>
if any
Aborting a Command
Use the
CTRL-C
character to abort a command at any time and return to the main prompt.
Command Short Cuts
You only have to type the minimum number of characters needed to identify a command or
subcommand to the CLI. When space or return is entered, the CLI will expand the abbreviation to
the full command name.
For example:
The full command name
configure
may be selected by any of the following:
Demo_unit%> conf
Demo_unit%> confi
Demo_unit%> config
When a space is entered, all of the above strings will expand to
configure
. Extra spaces between
command, subcommands or arguments are ignored.
Arguments composed of strings such as
interface name
may be abbreviated to minimum
uniqueness. Interface names are
ethernet0
,
modem0
,
serial
n
.
nnn
where
n
is serial
interface
0
or
1
, and
nnn
is a sub-interface value of
1 - 999
.
The
e
character is sufficient to select
ethernet0
. The
m
character is sufficient to select
modem0
. Typing
ser0.
nnn
or
s0.
nnn
is sufficient to select a sub-interface.
Command Recall
There are two ways to recall previously entered commands:
•
Arrow UP Recall
Use the
Arrow Up
key to recall previously entered commands in reverse order.
Use the
backspace
key to edit the command string, if needed.
Press
Enter
to execute the command string.
•
Command History Recall
Type
show history
to display a numbered history of the previous 20 commands.
At the command prompt, type
!
[##]
where
##
is the history screen line number of the desired
command.