Hi friend.
Command-line interface (CLI) is an operation interface based on command characters. The CLI provides various commands for configuring and maintaining the product. To facilitate the use of commands, the system stores the commands based on the command function, and each command is stored in the pertaining command mode. You must enter the corresponding mode before running a command.
Take the MA5800 as an example. It provides multiple command modes to implement hierarchical protection and prevent unauthorized access.
The MA5800 provides the features of command modes, as shown in Table 1.
Table 1 Features of basic command modes
Command Mode | Function | Prompt Character | Entry |
User mode | To display the basic system information | huawei> | You can enter the mode directly after login. |
Privilege mode | To perform the basic system configuration | huawei# | huawei>enable |
Global config mode | To configure the global system parameters | huawei(config)# | huawei#config |
For more information about the other command modes, click:
Command Modes
I hope I can help you.