
Using the Command-Line Interface
8039_en_01
PHOENIX CONTACT
1-1
S e c t i o n 1 : 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 chapter describes the CLI syntax, conventions, and modes. It contains the following
sections:
•
“Command Syntax” on page 1
•
“Command Conventions” on page 2
•
“Common Parameter Values” on page 2
•
“Slot/Port Naming Convention” on page 3
•
“Using the “No” Form of a Command” on page 4
•
“FL SWITCH GHS Firmware Modules” on page 4
•
“Command Modes” on page 5
•
“Command Completion and Abbreviation” on page 8
•
“CLI Error Messages” on page 9
•
“CLI Line-Editing Conventions” on page 9
•
“Using CLI Help” on page 10
•
“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
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:
RSPSupply - 1-888-532-2706 - www.RSPSupply.com
http://www.RSPSupply.com/p-14161-Phoenix-Contact-2700271-FL-SWITCH-GHS-4G/12-Modular-Ethernet-Switch.aspx