![Huawei AR2200 Series Скачать руководство пользователя страница 18](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296018.webp)
2.1 CLI Introduction
After you log in to the router, a prompt is displayed, indicating that you enter the command line
interface (CLI). The CLI is used by users to interact with the router.
2.1.1 Command Line Interface
You can configure and manage the router by using the CLI commands.
The characteristics of CLI are as follows:
l
Local configuration through console port.
l
Local or remote configuration through Telnet or Secure Shell (SSH).
l
The
telnet
command for directly logging in to and managing other routers.
l
FTP service for file uploading and downloading.
l
A user interface view for specific configuration management.
l
Hierarchical command protection for users of different levels, that is, running the
commands of the corresponding levels.
l
Three authentication modes are supported, namely, none-authentication, password
authentication, and Authentication, Authorization, and Accounting (AAA) authentication.
Password and AAA authentication prohibit unauthorized users from logging in to the
router, guaranteeing system security.
l
Entering "?" for online help at any time.
l
A command line interpreter provides intelligent command resolution methods such as key
word fuzzy match and context conjunction. These methods make it easy for users to enter
their commands.
l
Network testing commands such as
tracert
and
ping
for rapidly diagnosing a network.
l
Abundant debugging information to help in diagnosing the network.
l
Running a command used previously on the device, like DosKey.
NOTE
l
The system supports the command with a maximum of 512 characters. The command can be
incomplete. You can enter one or more initial characters of the command to match the whole command.
The incomplete command, however, must be unique in the system. For example, to use the
display
current-configuration
command, enter
d cu
,
di cu
, or
dis cu
. You cannot enter
d c
or
dis c
because
they are not unique in the system.
l
The system saves the incomplete command to the configuration files in complete form; therefore, the
command may have more than 512 characters. When the system is restarted, however, the incomplete
command cannot be restored. Therefore, pay attention to the length of the incomplete command.
2.1.2 Command Levels
The system manages commands in hierarchy for security. The administrator can set user levels
corresponding to command levels to implement user-specific access control.
The default command levels are as follows:
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.
7