Example For Using Shortcut Keys - Huawei AR2200 Series Configuration Manual

Enterprise routers
Hide thumbs Also See for AR2200 Series:
Table of Contents

Advertisement

Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
----End

2.5.2 Example for Using Shortcut Keys

This example shows how to use shortcut keys. In this example, frequently-used commands are
correlated with shortcut keys. You can press the shortcut keys instead of inputting the commands.
This facilitates user operation and improves efficiency.
Context
If the login router is defined with shortcut keys, the shortcut keys can be used by any user
regardless of the user level.
Procedure
Step 1 Correlate Ctrl_U with the display local-user command and run the shortcut keys.
<Huawei> system-view
[Huawei] hotkey ctrl_u "display local-user"
Step 2 Press Ctrl_U when the prompt [Huawei] appears.
[Huawei] display local-user
----------------------------------------------------------------------------
User-name
----------------------------------------------------------------------------
admin
root
----------------------------------------------------------------------------
Total 2 user(s)
----End
Issue 02 (2011-10-15)
The system displays information in a new line, but the keyword loglog remains
unchanged and there is no space between the cursor and the keyword, indicating
that this keyword is inexistent.
NOTE
When defining shortcut keys for a command, use double quotation marks to quote the command if the
command consisting of multiple words, which are separated by spaces. No double quotation marks are
required for single-word commands.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
State
AuthMask
AdminLevel
A
H
-
A
A
-
2 CLI Overview
22

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents