Syntax helper, Command completion with syntax helper, Abbreviated syntax – Extreme Networks 200 Series User Manual

Page 48: Command shortcuts, Summit 200 series switch numerical ranges

Advertising
background image

46

Summit 200 Series Switch Installation and User Guide

Accessing the Switch

Syntax Helper

The CLI 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 and press [Return]. The syntax helper provides 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 with Syntax Helper

ExtremeWare provides command completion by way of the [Tab] key. If you enter a partial command,
pressing the [Tab] key posts a list of available options, and places the cursor at the end of the command.

Abbreviated Syntax

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

In command tables throughout this guide, abbreviated syntax is noted using bold characters.

NOTE

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, on the stand-alone switch,
instead of entering the command

config vlan engineering delete port 1-3,6

you could enter the following shortcut:

config engineering delete port 1-3,6

Summit 200 Series Switch Numerical Ranges

Commands that require you to enter one or more port numbers on a Summit 200 series switch use the
parameter

<portlist>

in the syntax. A portlist can be a range of numbers, for example:

port 1-3

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

port 1-3,6,8

Advertising