![Huawei AR2200 Series Configuration Manual Download Page 29](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296029.webp)
Table 2-6
Access the previously-used commands
Action
Key or Command
Result
Display
previously-
used
commands.
display history-
command
Display previously-used commands entered by
users.
Access the last
previously-
used
command.
Up cursor key (
↑
) or
Ctrl_P
Display the last previously-used command if there
is an earlier previously-used command. Otherwise,
an alarm is generated.
Access the next
previously-
used
command.
Down cursor key
(
↓
) or
Ctrl_N
Display the next previously-used command if there
is a later previously-used command. Otherwise, the
command is cleared and an alarm is generated.
NOTE
On the HyperTerminal of Windows 9X, cursor key
↑
is invalid as the HyperTerminals of Windows 9X
define the keys differently. In this case, you can replace the cursor key
↑
with
Ctrl_P
.
When you use previously-used commands, note the following points:
l
The saved previously-used commands are the same as that those entered by users. For
example, if the user enters an incomplete command, the saved command also is incomplete.
l
If the user runs the same command several times, the earliest command is saved. If the
command is entered in different forms, they are considered as different commands.
For example, if the
display ip routing-table
command is run several times, only one
previously-used command is saved. If the
display current-configuration
command and
the
display ip routing-table
command are run, two previously-used commands are saved.
2.4 Shortcut Keys
Using the system or user-defined shortcut keys makes it easier to enter commands.
2.4.1 Classifying Shortcut Keys
There are two types of shortcut keys, namely, system shortcut keys and user-defined shortcut
keys. Familiarize yourself with shortcut keys so as to use them accurately.
The shortcut keys in the system are classified into the following types:
l
User-defined shortcut keys: CTRL_G, CTRL_L, CTRL_O, and CTRL_U. The user can
correlate these shortcut keys with any commands. When the shortcut keys are pressed, the
system automatically runs the corresponding command. For details of defining the shortcut
keys, see
.
l
System-defined shortcut keys: These shortcut keys with fixed functions are defined by the
system.
lists the system-defined shortcut keys.
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
2 CLI Overview
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
18