Installation and User Manual
EtherHaul
1200™
Page 174
EH-INST-02, Issue 4.0
11.3
Viewing the CLI Command History
The EtherHaul CLI maintains a history of the 100 most recent commands. This is
especially useful when recalling long, complex or repetitive entries.
To recall commands from the history buffer, you can press the following keys:
Key press
Result
Up Arrow
Recall commands in the history buffer, beginning with the most recent
command. Press the key repeatedly to recall successively older commands.
Down Arrow
Return to more recent commands in the history buffer, after recalling one
or more commands with the Up Arrow key. Press the key repeatedly to
recall successively more recent commands.
11.4
Invoking CLI Help and Autocompletion
The EtherHaul CLI assists you both actively and passively, as follows:
You can explicitly request syntax help on the command line.
You can explicitly request autocompletion assistance on the command line.
The CLI command interpreter always checks the validity and completeness of
a string that is entered on the command line.
-
When a command is determined to be invalid, the CLI responds
with a help message. If possible, the command interpreter will
derive the intended command from the initial entry and will
explain the syntax of the command and the range of allowed
values.
-
When a command is determined to be incomplete (for example,
if a required object or attribute is missing), the CLI responds with
a choice of variants that represent the possible values, based on
your initial entry.
The following table summarizes the ways to invoke CLI help and autocompletion
features:
Feature
Description
Help <
string
>
Returns a help line for the requested command and object. For example:
Default>
help set vlan xxx
Will return:
Default>
set vlan <comp-id-list> <vid-list> [fdb-id
<fdbid>] [egress <bridge-ports>] [untagged <bridge-
ports>] where <bridge-ports> are port names or none
fdbid in range 1..64 and relevant for s-vlans only