Command Line Interface Shortcuts; Cli List And Range Inputs; Command Abbreviation; Tab Completion - Lenovo RackSwitch G8332 Command Reference Manual

Iscli - industry standard cli command reference for lenovo enterprise network operating system 8.4
Hide thumbs Also See for RackSwitch G8332:
Table of Contents

Advertisement

Command Line Interface Shortcuts

CLI List and Range Inputs

Command Abbreviation

Tab Completion

© Copyright Lenovo 2016
The following shortcuts allow you to enter commands quickly and easily.
For VLAN and port 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 vlan command permits the following options:  
RS G8332(config)# vlan 1,3,4094
RS G8332(config)# vlan 1­20
RS G8332(config)# vlan 1­5,90­99,4090­4094      (access multiple ranges)
RS G8332(config)# vlan 1­5,19,20,4090­4094      (access a mix of lists and ranges)
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 access multiple ports with one command:  
RS G8332(config)# interface port 1­4
Most commands can be abbreviated by entering the first characters which 
distinguish the command from the others in the same mode. For example, consider 
the following full command and a valid abbreviation:  
RS G8332(config)# show mac­address­table interface port 12
or:   
RS G8332(config)# sh ma i p 12
By entering the first letter of a command at any prompt and pressing <Tab>, the 
ISCLI displays all available commands or options that begin with that letter. 
Entering additional letters further refines the list of commands or options 
displayed. If only one command fits the input text when <Tab> is pressed, that 
command is supplied on the command line, waiting to be entered.
If multiple commands share the typed characters, when you press <Tab>, the 
ISCLI completes the common part of the shared syntax.
            (access VLANs 1, 3, and 4094)
            (access VLANs 1 through 20)
              (access ports 1 though 4)
Chapter 1: ISCLI Basics
29

Advertisement

Table of Contents
loading

Table of Contents