Understanding the Command Syntax 35

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

When using abbreviated syntax, you must enter enough characters to make the command unambiguous, and distinguishable to the switch.

Command Shortcuts All named components of the switch configuration must have a unique name. Components are named using the create command. 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, instead of entering the Switch 9100 command

config vlan engineering delete port 1-3,6

you could enter the following shortcut:

config engineering delete port 1-3,6

Switch 9100 Commands that require you to enter one or more port numbers on a Numerical Ranges Switch 9100 use the parameter <portlist> in the syntax. A portlist can

be a range of numbers, for example:

ports 1-3

You can add additional port numbers to the list, separated by a comma:

ports 1-3,6,8

Names All named components of the switch configuration must have a unique name. Names must begin with an alphabetical character and are delimited by whitespace, unless enclosed in quotation marks.

Page 35
Image 35
3Com 9100 manual You could enter the following shortcut, Be a range of numbers, for example