2 using the cli, 1 cli command modes, Introduction – Planet Technology WGSW-48040 User Manual
Page 143: User exec mode, Privileged exec mode
User’s Manual of WGSW-24020/WGSW-48040
-14
5.2 Using the CLI
5.2.1 CLI Command Modes
The Command Line Interface (CLI) syntax, conventions and terminology are described in this section. Each CLI command is
illustrated using the structure outlined below.
Introduction
To assist in configuring devices, the CLI command-line interface is divided into different command modes. Each command
mode has its own set of specific commands. Entering a question mark "?" at the system prompt (console prompt) displays a list
of commands available for that particular command mode.
From each mode a specific command is used to navigate from one command mode to another. The standard order to access
the modes is as follows: User EXEC mode, Privileged EXEC mode, Global Configuration mode, and Interface Configuration
mode. The following figure illustrates the command mode access path.
When starting a session, the initial mode is the User EXEC mode. Only a limited subset of commands is available in User EXEC
Mode. This level is reserved for tasks that do not change the configuration. To enter the next level, the Privileged EXEC mode, a
password is required.
The Privileged mode gives access to commands that are restricted on EXEC mode and provides access to the device
Configuration mode.
The Global Configuration mode manages the device configuration on a global level. For specific interface configurations enter
the next level, the Interface Configuration Mode.
The Interface Configuration mode configures specific interfaces in the device.
User EXEC Mode
After logging into the device, the user is automatically in user EXEC command mode unless the user is defined as a privileged
user. In general, the user EXEC commands allow the user to perform basic tests, and list system information.
The user-level prompt consists of the device "host name" followed by the angle bracket (>).
console >
The default host name is "Console" unless it has been changed using the hostname command in the Global Configuration
mode.
Privileged EXEC Mode
Because many of the privileged commands set operating parameters, privileged access is password protected to prevent
unauthorized use. The password is not displayed on the screen and is case sensitive.
Privileged users are entered directly into the Privileged EXEC mode. To enter the Privileged EXEC mode commands from the
User EXEC mode perform the following: At the prompt enter the command enable and press
displayed. Enter the password and press
displayed. The Privileged EXEC mode prompt consists of the device "host name" followed by "#".
console #