1 CLI Configuration

The sample output information in this manual was created on the WX3024. The output information on your device may vary.

Introduction to the CLI

A command line interface (CLI) is a user interface to interact with a device. Through the CLI on a device, a user can enter commands to configure the device and check output information to verify the configuration. Each device provides an easy-to-use CLI and a set of configuration commands for the convenience of the user to configure and manage.

The CLI on the devices provide the following features, and so has good manageability and operability.

zHierarchical command protection: After users of different levels log in, they can only use commands at their own, or lower, levels. This prevents users from using unauthorized commands to configure devices.

zOnline help: Users can gain online help at any time by entering a question mark (?).

zDebugging: Abundant and detailed debugging information is provided to help users diagnose and locate network problems.

zCommand history function: This enables users to check the commands that they have lately executed and re-execute the commands.

zPartial matching of commands: The system will use partially matching method to search for commands. This allows users to execute a command by entering partially-spelled command keywords as long as the keywords entered can be uniquely identified by the system.

Command Hierarchy

The device uses hierarchical command protection for command lines, so as to inhibit users at lower levels from using higher-level commands to configure the device.

Based on user privilege, commands are classified into four levels:

zVisit level (level 0): Commands at this level are mainly used to diagnose network, and they cannot be saved in configuration file. For example, ping, tracert and telnet are level 0 commands.

zMonitor level (level 1): Commands at this level are mainly used to maintain the system and diagnose service faults, and they cannot be saved in configuration file. Such commands include debugging and terminal.

zSystem level (level 2): Commands at this level are mainly used to configure services. Commands concerning routing and network layers are at this level. These commands can be used to provide network services directly.

1-1

Page 8
Image 8
3Com WX3000 operation manual CLI Configuration, Introduction to the CLI, Command Hierarchy