Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Using the CLI Command Help
OmniSwitch 6600 Family Switch Management Guide March 2005 page 5-5
Partial Keyword Completion
The CLI has a partial keyword recognition feature that allows the switch to recognize partial keywords to
CLI command syntax. Instead of typing the entire keyword, you may type only as many characters as is
necessary to uniquely identify the keyword, then press the Tab key. The CLI will complete the keyword
and place the cursor at the end of the keyword.
When you press Tab to complete a command keyword, one of four things can happen
You enter enough characters (prior to Tab) to uniquely identify the command keyword.
In this case, pressing Tab will cause the CLI to complete the keyword and place a space followed by the
cursor at the end of the completed keyword.
You do not enter enough characters (prior to Tab) to uniquely identify the command keyword.
In this case pressing Tab will have no effect.
You enter characters that do not belong to a keyword that can be used in this instance.
In this case, pressing Tab will remove the characters and place the cursor back to its previous position.
You enter enough characters (prior to Tab) to uniquely identify a group of keywords such that all
keywords in the group share a common prefix.
In this case, pressing Tab will cause the CLI to complete the common prefix and place the cursor at the
end of the prefix. Note that in this case, no space is placed at the end of the keyword
Note. The keyword completion feature will accept wildcards.
Command Help
The CLI has an internal help feature you can invoke by using the question mark (?) character as a
command. The CLI help feature provides progressive information on how to build your command syntax,
one keyword at a time.
If you do not know the first keyword of the command you need, you can use a question mark character at
the CLI system prompt. The CLI responds by listing command keywords divided into command sets. You
can find the first keyword for the command you need by referring to the list on your screen. The follow-
ing is a partial display:
-> ?
WHOAMI WHO VIEW VI USER TTY TELNET SYSTEM SWLOG SSH SHOW SFTP SESSION RZ
RMDIR RM RENAME PWD PROMPT NTP NSLOOKUP NO NEWFS MV MOVE MORE MODIFY MKDIR
LS KILL IP INSTALL HISTORY FTP FSCK FREESPACE EXIT DSHELL DIR DELETE DEBUG
CP COMMAND-LOG CHMOD CD ATTRIB ALIAS
(System Service & File Mgmt Command Set)
(Additional output not shown)
Note that the command keywords are shown in all capital letters. The name of the command set is listed
parenthetically below the keywords in initial caps.