3Com OfficeConnect 3C100XF Cli User's Manual - page 26
1-8
C
HAPTER
1: U
SING
THE
C
OMMAND
L
INE
I
NTERFACE
(CLI)
Command Language
Structure
The CLI command language creates, manages, displays, and removes system
entities that describe system and network connections and processes. Configured
entities are stored in tables such as the IP Routing Table.
Some common entities are:
Network
- defines local and remote networks, network connections, hosts
and routers
User
- describes connection parameters, for operation and authorization
Filter
- can be applied to interfaces, connections, and users to control access
through the system
Interface
- describes physical devices; for example, ports
Syslog Hosts
- receives system messages
DNS Servers
- translates IP addresses to and from host names
Route
- describes a path through the network to another system/network
Table entries are created with an
ADD
command, and removed with a
DELETE
command. The
ADD
command specifies the most important parameters of the
entry. Additional parameters are usually specified with the
SET
command, which is
also used to change configured parameters.
SHOW
commands display detailed information about a specific table entry or a
set of scalars (non-table items). For example,
show ip settings
displays
system-wide IP information.
SHOW ALL
commands display information. The
show all
commands display all parameters for
all
entries
in tables associated with
particular commands.
The order of items in a table is usually not relevant, nor is it inherent in the type of
entity. Sometimes the order is relevant, though, and you must specify a
preference
value in the
ADD
command, indicating where this item belongs in the table. For
example,
add dns server
preference 1
assigns a priority of 1 to
this DNS server. The DNS server with the highest preference number will be used
first.
Command Features
The command language has several built-in features that make it easier to use.
When abbreviating commands, it’s sometimes difficult to remember commands
and their syntax. Using command completion and positional help aids in jogging
your memory of the commands and their parameters, while you are typing in a
command string.
Command Line Edit
Command line edit allows non-destructive cursor movements on a command
already typed. The Command line editing commands are listed in the following
table.
(Ctrl b) or left arrow
go back one character
(Ctrl f) or
right arrow
go forward one character
(Esc b)
go back one word
(Esc f)
go forward one word
(Ctrl a)
go to beginning of command