Introduction
CLI Command Modes
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 19
1
User EXEC Mode
This is the initial mode after system login (except for users who are defined as
privileged users; refer to “
Privileged EXEC Mode
”). User EXEC mode is used for
tasks that do not change the configuration, such as performing basic tests and
listing system information.
The user-level prompt consists of the Switch host name followed by the angle
bracket >:
Console>
The default host name is Console unless it is changed via the hostname command
in Global Configuration mode.
To access the next higher mode (Privileged EXEC mode), use the enable
command and enter a password when prompted.
Privileged EXEC ModePrivileged EXEC mode is password-protected to prevent unauthorized use, as
many of its commands set operating system parameters. The password is not
displayed on the screen and is case-sensitive.
Privileged users start in Privileged EXEC mode. To enter this mode from User
EXEC mode, follow these steps:
STEP1 At the prompt enter the enable command and press Enter. A password prompt is
displayed.
STEP 2 Enter the password and press Enter. (For security purposes, each character in the
password is repl aced by *). The Privileged EXEC mode prompt, consisting of the
Switch host name followed by, is displayed.
Console#
To return from the Privileged EXEC mode to the User EXEC mode, use the disable
command.
The following example illustrates how to access Privileged EXEC mode and then
return to User EXEC mode:
Console> enable
Enter Password: ******