Key Function
Tab Press Tab after typing a partial key word and the system runs
partial help:
l If the matching key word is unique, the system replaces the
typed character string with a complete key word and displays
it in a new line with the cursor placed at the end of the word.
l If there are several matches or no match, the system displays
the prefix first. Then you can press Tab to view any matching
key words one at a time. The cursor directly follows the end of
the word. You can press the spacebar to enter the next word.
l If a non-existent or incorrect key word is entered, press Tab
and the word is displayed on a new line.
2.3.2 Displaying
Command lines have a feature to control how they are displayed. You can set the command line
display mode as required.
You can control the display of information on the CLI as follows:
l If output information cannot be displayed on a full screen, you have three viewing options,
as shown in Table 2-4.
Table 2-4 Display keys
Key
Function
Ctrl_C Stops the display and the running of a command.
Space Allows information to be displayed on the next screen.
Enter Allows information to be displayed on the next line.
2.3.3 Regular Expressions
A regular expression describes a set of strings. It consists of common characters (such as letters
from "a" to "z") and special characters (called metacharacters). The regular expression is a
template upon which you can base searches for required strings. Users can use regular
expressions to filter output to locate needed information quickly.
A regular expression provides the following functions:
l Search for sub-strings that match a rule in the main string.
l String substitution based on specific matching rules.
Formal Language Theory of the Regular Expression
A regular expression consists of common characters and special characters.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration 2 CLI Overview
Issue 04 (2012-05-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
21