Technical data

BLADE OS 5.0 Command Reference
BMD00142, November 2009 Chapter 3: Menu Basics
41
Command Line Interface Shortcuts
The following shortcuts allow you to enter commands quickly and easily.
CLI List and Range Inputs
For CLI commands that allow an individual item to be selected from within a numeric range, lists
and ranges of items can now be specified. For example, the /info/vlan command permits the
following options:
The numbers in a range must be separated by a dash: <start of range>-<end of range>
Multiple ranges or list items are permitted using a comma: <range or item 1>,<range or item 2>
Do not use spaces within list and range specifications.
Ranges can also be used to apply the same command option to multiple items. For example, to
enable multiple ports with one command:
Note – Port ranges accept only port numbers, not port aliases.
Command Stacking
As a shortcut, you can type multiple commands on a single line, separated by forward slashes (/).
You can connect as many commands as required to access the menu option that you want. For
example, the keyboard shortcut to access the Spanning Tree Port Configuration Menu from the
Main# prompt is as follows:
# /info/vlan (show all VLANs)
# /info/vlan 1 (show only VLAN 1)
# /info/vlan 1,3,4095 (show listed VLANs)
# /info/vlan 1-20 (show range 1 through 20)
# /info/vlan 1-5,90-99,4090-4095 (show multiple ranges)
# /info/vlan 1-5,19,20,4090-4095 (show a mix of lists and ranges)
# /cfg/port 1-4/ena (Enable ports 1 though 4)
Main# cfg/l2/stg 1/port