![Huawei AR2200 Series Configuration Manual Download Page 32](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296032.webp)
2.5.1 Example for Using Tab
This example shows how to use the
Tab
key. After inputting an incomplete keyword, you can
press
Tab
and obtain all related keywords or verify the correctness of the input keyword.
Context
Usually, you do not need to input complete keywords. Instead, you can just input one or a few
beginning characters of a keyword and press
Tab
to complete the keyword. The
Tab
key helps
search for and use commands.
Procedure
l
Tab
can be used in three ways as shown in the following example.
–
The matching key word is unique after the incomplete key word is input.
1.
Input the incomplete key word.
[Huawei]
info-
2.
Press
Tab
.
The system replaces the input one with the complete key word and displays it in a
new line with the cursor leaving a space behind.
[Huawei]
info-center
–
There are several matches or no match after the incomplete key word is input.
# The keyword
info-center
can be followed by the following prefixes beginning with
log
.
[Huawei]
info-center log?
logbuffer Setting of log buffer configuration
logfile <Group> logfile command
group
loghost Setting of logging host configuration
1.
Input the incomplete key word.
[Huawei]
info-center log
2.
Press
Tab
.
The system first displays the prefix
log
.
[Huawei]
info-center logbuffer
Press
Tab
repeatedly to select a keyword. The cursor is closely following the end
of the keyword.
[Huawei]
info-center logfile
[Huawei]
info-center loghost
Stop pressing
Tab
after the keyword
logfile
that you need is displayed.
3.
Input a space to enter the next word
path
.
[Huawei]
info-center logfile path
–
Input an incorrect keyword and press
Tab
to check the correctness of the keyword.
1.
Input a wrong keyword
loglog
.
[Huawei]
info-center loglog
2.
Press
Tab
.
[Huawei]
info-center loglog
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.
21