Syntax helper, Command completion, Abbreviated syntax – 3Com 3800 User Manual

Page 56: Command shortcuts

Advertising
background image

4-2

C

HAPTER

4: C

OMMANDS

If the command does not include a parameter, skip to Step 3. If the
command requires more information, or if you want to include optional
parameters, continue to Step 2a.

a If the command has additional parameters include them after the

command name.

b If the command includes a parameter, enter the parameter name,

and its values.

The parameters values may include numerics, strings, or addresses,
depending on the parameter.

3 After entering the complete command, press [Return].

Syntax Helper

The command-line interface has a built-in syntax helper. If you are
unsure of the complete syntax for a particular command, enter as
much of the command as possible. The syntax helper will provide you
with a list of options for the remainder of the command.

The syntax helper also provides assistance if you have entered an
incorrect command.

Command

Completion

The Switch provides command completion by way of the [Tab] key. If
you enter a partial command, pressing the [Tab] key fills in the
remainder of the command. If command options exist, they are
displayed. The full command is then redisplayed and the cursor is
placed at the end of the command.

Abbreviated Syntax

Abbreviated syntax is the shortest, unambiguous, allowable
abbreviation of a command, parameter, or value. Typically, this is the
first three letters of the command.

Command Shortcuts

All named components of the Switch configuration must have a unique
name. When you enter a command to configure a named component,
you do not need to use the keyword of the component. For example,
to create a VLAN, you must enter a unique VLAN name:

create vlan engineering

Once you have created the VLAN with a unique name, you can then
eliminate the keyword vlan from all other commands that require the
name to be entered. For example the following command:

SW3800.BK Page 2 Tuesday, May 5, 1998 5:20 PM

Advertising