Fujitsu P3NK-4452-01ENZD Computer Hardware User Manual


 
XG Series User's Guide Chapter 2 Using the CLI
Using the CLI
44
2.2.1.3 Command name autocomplete function
The command name autocomplete function allows you to display a list of command names without entering anything by
pressing the TAB key or CTRL + I. In addition, if you press the TAB key or CTRL + I after entering part of a command,
the command string will be automatically completed. Automatically completed character strings differ depending on
conditions.
The following table details autocomplete operations for entered characters.
When you use autocomplete without entering anything, a list of commands with the command-type lines shown below is
displayed.
--Exec commands-
Operation commands and alias commands
-- Exec commands (config mode)--
Operation commands and aliases for configuration mode
--Config commands--
Configuration commands
--Config commands (current directory)--
Configuration command arguments (when the configuration hierarchy function is enabled and you are not in the top
hierarchy)
The command name autocomplete function works differently according to the number of times you hit the TAB key or
CTRL + I.
The table below lists the autocomplete operation for each number of times the TAB key or CTRL + I are hit.
Note that descriptions are displayed in Japanese (kanji characters). If they are not displayed correctly, use a terminal
charset command to specify a kanji character code which is displayed correctly.
Command name beginning with entered characters Operation
When nothing is entered A list of all command names is displayed.
When a single command applies The applicable command name is automatically completed
along with a single blank character.
When multiple commands apply, with the same string
following the entered characters
The identical character string portion is completed.
When multiple commands apply, with different strings
following the entered characters
A list of possible commands is displayed.
When no command applies Nothing is displayed.
Number of times the TAB
key or CTRL + I are hit
Operation
One time A list of command names is displayed or the entered command string is automatically
completed.
Two times Command and argument names corresponding to the use mode and their descriptions are
displayed.
In operation mode, the operation command names and descriptions, and the names of
commands registered using an alias command as well as their registration content are
displayed.
In configuration mode when the configuration hierarchy function is disabled, the
configuration command names and their descriptions are displayed.
In configuration mode, when the configuration hierarchy function is enabled and you are at
the top hierarchy level, the configuration command names and descriptions are displayed.
In configuration mode, when the configuration hierarchy function is enabled and you are not
at the top hierarchy level, the command argument names available for the current hierarchy
level and their descriptions are displayed.