SMC Networks SMC6624M Switch User Manual


 
3-9
Using the Command Line Interface (CLI)
Using the CLI
Using the Command Line
Interface (CLI)
As mentioned above, if you type part of a command word and press [Tab], the
CLI completes the current word (if you have typed enough of the word for the
CLI to distinguish it from other possibilities), including hyphenated exten-
sions. For example:
SMC TigerSwitch 10/100(config)# port[Tab]
SMC TigerSwitch 10/100(config)# port-security _
Pressing [Tab] after a completed command word lists the further options for
that command.
SMC TigerSwitch 10/100(config)# stack[Tab]
commander <commander-str>
join <mac-addr>
auto-join
transmission-interval <integer>
<cr>
SMC TigerSwitch 10/100(config)# stack
Command Option Displays
Conventions for Command Option Displays. When you use the CLI to
list options for a particular command, you will see one or more of the following
conventions to help you interpret the command data:
Braces ( < > ) indicate a required choice.
Square brackets ([ ]) indicate optional elements.
Vertical bars ( | ) separate alternative, mutually exclusive options in a
command.
Figure 3-5.Example of Command Option Conventions
The braces (< >) show that the
trunk command requires all
three parameters.
The vertical bar (
| ) shows that
either trunk or lacp must be
included.
The square brackets ([ ]) show
that ethernet is optional.