CLI Overview

The command line interface (CLI) is a common tool for running commands. You can run CLI commands to configure and manage a router.

When a user runs a command that requires a password entry, some passwords are displayed in plaintext on a screen. To prevent a password leak, clear the screen promptly.

Command Line Interface

The command line interface (CLI) is an interface through which you can interact with a router. The system provides a series of commands that allow you to configure and manage the router.

The CLI is a traditional configuration tool, which is available on most data communication products. However, with the wider application of data communication products worldwide, customers require a more available, flexible, and friendly CLI.

The CLI has the following characteristics:

  • Supports local configurations through the console port.

  • Supports local or remote configurations over Telnet or Secure Shell (SSH).

  • Provides the user interface view and supports personal configuration and management for various terminal users.

  • Supports the command-based hierarchical protection mode in which users of different levels can run only the commands of the corresponding levels.

  • Allows users to type in a question mark (?) to obtain online help.

  • Provides network testing commands, such as the tracert and ping commands, for quickly diagnosing network connectivity.

  • Provides various detailed debugging information to help diagnose network faults.

  • Allows users to log in to and manage other routers using the telnet command.

  • Provides the FTP service to allow users to upload and download files.

  • Provides the function to run a historical command.

  • Provides multiple intelligent command resolution methods through the command line interpreter, such as partial match and context-sensitive, which facilitates users' command entry.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >