3 CLI Overview
Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
3-14
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 05 (2010-01-30)
3.10.3 Use of Shortcut Keys
z
You can press the shortcut keys wherever you can type a command. Then the system
displays the full corresponding command.
z
If you have typed part of a command and have not pressed
Enter
, you can press the
shortcut keys to clear the input and display the full corresponding command. This
operation has the same effect with that deleting all commands and then re-entering the
complete command.
z
The shortcut keys are run as the commands, the syntax is recorded to the command
buffer and log for fault location and querying.
The terminal in use may affect the functions of the shortcut keys. For example, if the customized
shortcut keys of the terminal conflict with those of the router, the input shortcut keys are captured by the
terminal program and hence the shortcut keys do not function.
Run the following command in any view to display the use of shortcut keys.
Action
Command
View the use of shortcut keys.
display
hotkey
3.11 Configuration Examples
3.11.1 Example for Using Shortcut Keys
Defining Shortcut Keys
Step 1
Correlate Ctrl_Gwith the
display ip routing-table
command and run the shortcut keys.
<Quidway>
system-view
[Quidway]
hotkey ctrl_u display ip routing-table
Step 2
Press
Ctrl+G
when the prompt
Quidway
appears.
[Quidway]
display ip routing-table
R
oute Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost Flags
NextHop Interface
51.51.51.9/32 Direct 0
0
D 127.0.0.1 InLoopBack0
100.2.0.0/16 Direct 0 0
D 100.2.150.51 GigabitEthernet0/0/0
100.2.150.51/32 Direct 0 0
D 127.0.0.1 InLoopBack0
100.2.255.255/32 Direct 0 0
D 127.0.0.1 InLoopBack0
127.0.0.0/8 Direct 0 0
D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0