2-2 CHAPTER 2: CLI COMMAND CONVENTIONS AND TERMINOLOGY
The type of value you enter must match the type requested. Numbers are
either decimal or hexadecimal. Text can be either a string that you create, or it
may be a list of options you must choose from. When choosing an option, type
the text of the option exactly.
Names or Strings
“Double quotation marks” set off user-defined strings. If you want white space
or special characters in a string, it must be enclosed by “double quotation
marks”.
Network Address Formats
Many commands require a network address, to define a link to a remote host,
workstation or network. Network addresses are shown in this document using the
syntax described in the following table:
Abbreviation and
Command
Completion
Commands can be abbreviated if arguments you write are unique.
For example, you can type se vc jay pa bird, short for: set vc jay password
bird is acceptable, but se vc jay i 222.111.111.111 isn’t unique because i can
stand for ip, ip_routing, or ip_source_validation.
As a convention, some commands illustrated in this manual are abbreviated
and annotated as such (abbr.) for brevity.
Also, some parameters are omitted in examples because they default to
standard values and do not require entry, or are unnecessary for common
configuration. See the CLI Reference section for more details.
Command completion finishes spelling a unique, abbreviated parameter for
you just by pressing the key. It’s handy when you’re in a hurry or uncertain
about a command. For example, if you type add ip n[ESC], it will spell out the
keyword network without losing your place in the command syntax.
Control Characters Commands can be retrieved by typing <ctrl>p [^p] (for previous) and <ctrl>n
[^n] (for next). Command retrieval consults the history of previous fully entered
commands, defaulting at the last ten commands.
If an error occurs while a command is processing, any partial command (up to
and including the field in error) is added to the history list.
The current command can be killed by pressing <ctrl>c [^ c].
A partially completed command line can be reprinted - a useful function if, due
to interrupted output, you’re unsure what the OCR 812 has “seen” up to now
- by pressing <ctrl>l [^ l] (for last).
Help Help is general or positional. Type help <any command> to get a cursory list of
associated commands and its syntax. Type <any command>? to get more
extensive, positional help for a particular field.
Address Type Format Range
IP_address a.b.c.d 0.0.0.0 to 255.255.255.255
(decimal)
ip_net_address a.b.c.d/mask 255.255.255.255/A,B,C,H
mac_address xx:xx:xx:xx:xx:xx hexadecimal digit pairs