5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
8
2.
Using the Command-Line
The command-line interface (CLI) constitutes a text-based means by which to monitor and manage the
system. The CLI can be accessed by the use of a direct serial connection or through the used of a remote
logical connection via telnet or SSH.
Command Syntax
A command consists of one or more words. A given command may or may not be followed by one or
more parameters, as parameters may be required or optional depending on the command being used.
For example, the commands
network
and
clear vlan
do not require parameters, whereas other
commands, such as
network parms
, require that a value is included after the command. Such
parameter values must be typed in a specific order, with any optional parameters following any required
parameters. The following example illustrates the command syntax for the
network parms
command:
network parms ipaddr netmask
[gateway]
•
The term
network parms
is the name of the command itself.
•
The terms
ipaddr
and
netmask
are parameters and are examples of required values that must
be entered after the command itself are entered.
•
The term
[gateway]
is an optional parameter, meaning that it is not required that a value be
entered in place of the parameter.
Each command is listed by the command name in the
CLI Command Reference
, which also provides a
brief description of each command.
The command keywords and the associated required and optional parameters are shown under Format.
The command mode used must be in to access the command is indicated under Mode.
The default value for a configurable setting on the device, if any, is indicated by Default.
Furthermore, the information that a given command shows is described by the
show
command.
Command Conventions
For a given command, the parameters used may include mandatory values, optional values, or keyword
choices. Such parameters follow a prescribed order.
explains the conventions used in this guide
to distinguish between value types.
Table 1: Parameter Conventions
Symbol
Example
Description
[] Brackets
[value]
Denotes an optional parameter.
Italic font in a parameter
value
or
[value]
Denotes a variable value. You must
substitute the italicized text and brackets
with an appropriate value, such as a name
or number.
{} Braces
{choice1 | choice2}
Indicates a parameter selection option.
| Vertical bars
choice1 | choice2
Separates mutually exclusive choices.
[{}] Braces within brackets
[{choicel | choice2}]
Denotes a choice within an optional
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...