3
Using the Command-Line Interface
S e c t i o n 2 : U s i n g t h e C o m m a n d - L i n e I n t e r f a c e
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 section describes the CLI syntax, conventions, and modes. It contains the following subsections:
•
•
“Command Conventions” on page 4
•
“Common Parameter Values” on page 4
•
“Slot/Port Naming Convention” on page 5
•
“Using the “No” Form of a Command” on page 5
•
“Unified Switch Modules” on page 6
•
•
“Command Completion and Abbreviation” on page 8
•
“CLI Error Messages” on page 9
•
“CLI Line-Editing Conventions” on page 9
•
•
“Accessing the CLI” on page 11
C
OMMAND
S
YNTAX
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]
•
network parms
is the command name.
•
<ipaddr>
and
<netmask>
are parameters and represent required values that you must enter after you type the
command keywords.
•
[gateway]
is an optional parameter, so you are not required to enter a value in place of the parameter.
The
D-Link Unified Switch 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:
•
Format shows the command keywords and the required and optional parameters.
•
Mode identifies the command mode you must be in to access the command.
•
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.
Summary of Contents for DWS-4000 Series
Page 20: ...D Link Unified Switch CLI Command Reference 12 2009 D Link Corporation All Rights Reserved ...
Page 170: ...D Link Unified Switch CLI Command Reference 162 2009 D Link Corporation All Rights Reserved ...
Page 369: ...361 Captive Portal Status Commands Locale Link The names of the languages Field Description ...
Page 416: ...D Link Unified Switch CLI Command Reference 408 2009 D Link Corporation All Rights Reserved ...
Page 528: ...D Link Unified Switch CLI Command Reference 520 2009 D Link Corporation All Rights Reserved ...
Page 545: ...537 O SSupport ...
Page 546: ...D Link Unified Switch CLI Command Reference 538 2009 D Link Corporation All Rights Reserved ...
Page 566: ...D Link Unified Switch CLI Command Reference 558 2009 D Link Corporation All Rights Reserved ...