Command option displays, Command option displays -9 – SMC Networks SMC TigerStack II SMC6624M User Manual

Page 43

Advertising
background image

3-9

Using the Command Line Interface (CLI)

Using the CLI

U

sin

g

th
e

Co
m

m

a

n

d

L

in

e

In

te

rf

ac
e (
C

LI

)

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.

Advertising