beautypg.com

4 ambiguous commands – Cabletron Systems 9A100 User Manual

Page 29

background image

SmartSwitch 9A100 User Guide 2-11

Switch Installation and Setup

Using the Console

The above example creates an alias (

traffic

) that can be entered in place of the command

set

SwitchTrafficCongestion

. For example:

SmartSwitch # traffic

Queue1EFCIThreshold(4096) :

Queue2EFCIThreshold(4096) :

Queue3EFCIThreshold(4096) :

Queue4EFCIThreshold(4096) :

LowEPDWatermark(10922) :

HighEPDWatermark(21845) :

RMCellMarkingEnable(1) :

EFCIMarkingEnable(1) :

SmartSwitch #

Enter the

show alias

command to display a list of all defined aliases and the command lines to which they correspond.

:SmartSwitch # show alias

AliasName(ALL) :

Alias List

==============================================================================

Index Alias Name : Aliased Command

1 PING : Start ping

2 xxx : show portconfig

3 traffic : set switchtrafficcongestion

SmartSwitch #

2.5.4

Ambiguous Commands

If you enter part of a command, and that part is not unique, the console displays a numbered list of possible matching
commands. For example, entering

show pnnin

is ambiguous because there are several commands that start with

“pnnin.” In response, the SmartSwitch 9A100 displays a list of the possible commands:

SmartSwitch # show pnnin

< “pnnin” is ambiguous

Objects beginning with pnnin for action show

0 : PnniNeighbor

1 : PnniNetworkLink

2 : PnniNetworkNode

3 : PnniNode

4 : PnniNodeTimer

(#)Command (Q)uit? : 3

< I meant PnniNode, so I enter number three (3) from the list

SmartSwitch # show PnniNode

Selecting number three from the list automatically enters the corresponding command; pressing enter executes the
command:

PNNI Node Information

================================================================================

Level : 80

Node Id : 50:a0:39:00:00:00:00:00:00:00:00:00:28:c1:80:00:20:d4:28:c1:80:00

Lowest : TRUE

Admin Status : UP

Oper Status : UP

Atm Address : 39:00:00:00:00:00:00:00:00:00:28:c1:80:00:20:d4:28:c1:80:00

Peer Group Id: 50:39:00:00:00:00:00:00:00:00:00:00:00:00

Rst Transit : FALSE

Rst Branching: FALSE

DB Overload : FALSE

Ptse : 2

SmartSwitch #