XG700 User's Guide
17/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
2.2.3 Command Completion
If you enter part of a command or option and press the [Tab] key, the CLI displays the remaining command or option
characters.
xg# con<TAB>
↓
xg# configure _
For example, the only command that begins with "con" is "configure", so the CLI completes the command name as "configure".
If you press the [TAB] key, the CLI lists all possible command or option names.
xg# con<TAB>
configure copy
xg# co_
Since there are two commands that begin with "co" - "configure" and "copy" - the CLI lists these two.
2.2.4 Command Abbreviation
Commands and options can be abbreviated to the minimum number of characters as long as command or option names are
unique and forward-match the entered letters.
xg# con t
For example, you can abbreviate the "configure" command to "con" because "configure" is the only command that begins with
"con", and "terminal" to "t" because "terminal" is the only command that begins with "t".
2.2.5 Command-Line Error Messages
The table below shows error messages that appear when you incorrectly enter a command. The "configure terminal" command
is used as an example below:
Error Message
Explanation
xg# co t
% Ambiguous command: "co t"
You did not enter enough characters for the CLI to
recognize the command.
Re-enter the correct command string.
xg# configure
% Incomplete command.
You did not enter all of the options or values required by
this command entry.
Set all necessary options and values.
xg# configure aerminal
^
% Invalid input detected at '^' marker
You entered a command improperly. A caret symbol (^)
indicates the incorrect entry.
Change incorrect entries and execute the command
again.
xg# coc?
% Unrecognized command
You typed part of a command that is not found with the
context-sensitive help.
Re-enter the correct command string.
2.2.6 Scrolling Down or Up a Line or a Page
When the information displayed by a command is wider than the console screen, a "--More--" prompt is displayed at the bottom
of the screen and the CLI waits for a user entry.
xg# show running-config
!
interface port 0
:
:
(The rest is omitted.)
:
--More--
Scrolling Up a Line
To scroll up one line, press the [Enter] key.
Scrolling Up a Page
To scroll up one page, press the [Space] bar.
Finishing Displaying
To finish displaying, press the [q] or [Q] key.
The following table shows the combinations of shortcut keys, function keys or the [Ctrl] key used to edit commands.