Command Structure
19
Command Structure
The command-line interface (CLI) is a text-based way to manage and monitor the system. You can
access the CLI by using a direct serial connection or by using a remote logical connection with telnet or
SSH.
This chapter describes the CLI syntax, conventions, and help. It contains the following sections:
z
“Command Syntax” on page 19
z
“Command Conventions” on page 19
z
“Using the “No” Form of a Command” on page 22
z
“Using CLI Help” on page 23
z
“Accessing the CLI” on page 23
Command Syntax
A command is one or more words that might be followed by one or more parameters. Parameters can be
required or optional values.
Some commands, such as
show network
or
clear vlan,
do not require parameters. Other
commands, such as
network parms
, require that you supply a value after the command. You must
type the parameter values in a specific order, and optional parameters follow required parameters. The
following example describes the
network parms
command syntax:
Format
network parms <ipaddr> <netmask> [<gateway>]
z
network parms
is the command name.
z
<ipaddr>
and
<netmask>
are parameters and represent required values that you must enter after
you type the command keywords.
z
[<gateway>]
is an optional parameter, so you are not required to enter a value in place of the
parameter.
The
CLI Command Reference
lists each command by the command name and provides a brief
description of the command. Each command reference also contains the following information:
z
Format shows the command keywords and the required and optional parameters.
z
Mode identifies the command mode you must be in to access the command.
z
Default shows the default value, if any, of a configurable setting on the device.
The
show
commands also contain a description of the information that the command shows.
Command Conventions
In this document, the command name is in
bold
font. Parameters are in
italic font
. You must
replace the parameter name with an appropriate value, which might be a name or number. Parameters
are order dependent.
Содержание DES-3226L
Страница 2: ......
Страница 11: ...List of Figures 11 List of Figures Figure 1 Mode based CLI 26 Figure 2 Syntax Error Message 28...
Страница 12: ...12 D Link DES 3226L Command Line Reference...
Страница 14: ...14 D Link DES 3226L Command Line Reference...
Страница 16: ...16 D Link DES 3226L Command Line Reference...
Страница 18: ...18 D Link DES 3226L Command Line Reference...
Страница 24: ...24 D Link DES 3226L Command Line Reference...
Страница 50: ...50 D Link DES 3226L Command Line Reference...
Страница 82: ...82 D Link DES 3226L Command Line Reference...
Страница 104: ...104 D Link DES 3226L Command Line Reference...
Страница 122: ...122 D Link DES 3226L Command Line Reference...