Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
3 CLI Overview
Issue 05 (2010-01-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3-3
z
The system supports the command with 256 characters at most. The command can be in an
incomplete form.
z
The system saves the incomplete command to the configuration files in the complete form; therefore,
the command may have more than 256 characters. However, when the system is restarted, the
incomplete command cannot be restored. So, pay attention to the length of the incomplete command.
3.1.2 Command Levels
The system adopts a hierarchical protection mode that has 16 command levels in an
increasing order.
By default, the commands are registered as one of the following four levels:
z
Visit level: Commands of this level include commands of network diagnosis tool (such
as ping and tracert) and commands that start from the local device and visit external
device (including Telnet client side, SSH client side and Rlogin) and so on.
z
Monitoring level: Commands of this level, including the
display
command and the
debugging
command, are used for system maintenance, service fault diagnosis, and so
on.
z
Configuration level: Commands of this level are service configuration commands that
provide direct network service to the user, including routing and network layer
commands.
z
Management level: Commands of this level are commands that influence basis operation
of the system and provide support to the service. They include file system command,
FTP command, TFTP command, XModem downloading command, configuration file
switching command, power supply control command, backup board control command,
user management command, level setting command, system internal parameter setting
command, and so on.
z
The default command level may be higher than the command level defined according to the
command rules in application.
z
Login users have the same four levels as the command levels. The login users can use only the
command of the levels that are equal to or lower than their own levels. For details of login user
levels, refer to section 5.1.3 "User Management" in Chapter 5 "User Login."
3.1.3 Command Line Views
System specifies the command line views to describe corresponding command interfaces.
Each command is registered and run only in a certain command view.
3.1.4 Regular Expressions
When a lot of information is output, you can filter the unnecessary contents out with regular
expressions and display the necessary contents.
Specify the filtering mode in the commands:
Three kinds of filtering modes are used to filter the output. In the commands that support
regular expressions, these three modes are
|
{
begin
|
exclude
|
include
}
regular-expression
:
z
begin:
displays the information that begins with the line that matches
regular expression
.
z
exclude:
displays the information that excludes lines that match
regular expression
.
z
include:
displays the information that includes lines that match
regular expression
.