Using The Cli; Cli Command Modes - Planet Networking & Communication WGSD-1022 User Manual

8-port 10/100mbps + 2-port gigabit tp/sfp combo managed ethernet switch
Table of Contents

Advertisement

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.

Advertisement

Table of Contents
loading

Table of Contents