![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650044.webp)
3-10
Using the Command Line Interface (CLI)
Using the CLI
U
si
n
g t
h
e Co
m
m
a
n
d
Li
ne
In
te
rf
ac
e (
C
LI
)
Thus, if you wanted to create a port trunk group using ports 5 - 8, the above
conventions show that you could do so using any of the following forms of
the
trunk
command:
SMC6624M(config)# trunk trk1 trunk 5-8
SMC6624M(config)# trunk trk1 trunk e 5-8
SMC6624M(config)# trunk trk1 lacp 5-8
SMC6624M(config)# trunk trk1 lacp e 5-8
Listing Command Options.
You can use the CLI to remind you of the
options available for a command by entering command keywords followed by
?
. For example, suppose you wanted to see the command options for config-
uring port 5:
Figure 3-6. Example of How To List the Options for a Specific Command
Displaying CLI “Help”
CLI Help provides two types of context-sensitive information:
■
Command list with a brief summary of each command’s purpose
■
Detailed information on how to use individual commands
Displaying Command-List Help.
You can display a listing of command
Help summaries for all commands available at the current privilege level. That
is, when you are at the Operator level, you can display the Help summaries
only for Operator-Level commands. At the Manager level, you can display the
Help summaries for both the Operator and Manager levels, and so on.
Syntax:
help
For example, to list the Operator-Level commands with their purposes:
SMC6624M(config)# interface e 5?
flow-control
Enable/disable flow control on the port
speed-duplex
Define mode of operation for the port
broadcast-limit
Set a broadcast traffic percentage limit
unknown-vlans
Define what the port will do when it encounters GVRP
packet requesting it to join a VLAN
enable
Enable port
disable
Disable port
lacp
Define whether LACP is enabled on the port, and whether
it is in active or passive mode when enabled
monitor
Define that the port is to be monitored
<cr>
This example displays the command options
for configuring port 5 on the switch.