Table 2-1 Conventions of the CLI commands
Convention Description
Boldface The keywords of a command line are in boldface.
Italic Command arguments are in italics.
[ ] Items (keywords or arguments) in square brackets [ ] are
optional.
{ x | y | ... } Optional items are grouped in braces and separated by vertical
bars. One item is selected.
[ x | y | ... ] Optional items are grouped in brackets and separated by vertical
bars. One item is selected or no item is selected.
{ x | y | ... } * Optional items are grouped in braces and separated by vertical
bars. A minimum of one item or a maximum of all items can be
selected.
[ x | y | ... ] * Optional items are grouped in brackets and separated by vertical
bars. Several items or no item can be selected.
You can use the command completion function by press the Tab key.
After you enter part of a command and press Tab, the system does not display any information.
Press Tab again, all the commands that start with what you have entered are displayed. After
you enter part of a command, if the system can identify the command through the entered letters,
you can complete the command by pressing Tab.
NOTE
l If no character is entered on the CLI, no information is displayed when you press Tab for the first time.
All commands are displayed after you press Tab again.
l After part of a command is entered, if no information is displayed after you press Tab twice, it indicates
that the command start with the entered letters does not exist.
l If multiple commands match with what you have entered, a list of possible commands is displayed.
l If only one command matches with what you have entered, the command is completed automatically,
and then the cursor moves to the end of the command.
For example, on the CLI, enter a, and press Tab. No information is displayed.
OceanStor: admin> a
If you press Tab again, the commands start with the letter a are displayed.
OceanStor: admin> a
addhost addmap addport
adduser autobat
Enter add, and press Tab. No information is displayed. Press Tab again, the commands that
start with letters add are displayed.
OceanStor: admin> add
OceanStor S2600 Storage System
Command Reference 2 Introduction to the CLI Commands
Issue 07 (2010-05-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2-3