3com WX3000 User Manual

Page of 715
 
1-1 
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. 
Hierarchical 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. 
Online help: Users can gain online help at any time by entering a question mark (?). 
Debugging: Abundant and detailed debugging information is provided to help users diagnose and 
locate network problems. 
Command history function: This enables users to check the commands that they have lately 
executed and re-execute the commands. 
Partial 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: 
Visit level (level 0): Commands at this level are mainly used to diagnose network, and they cannot 
be saved in configuration file. For example, pingtracert and telnet are level 0 commands. 
Monitor 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
System 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.