beautypg.com

Command line mode, User mode, Privileged mode – PLANET WGSW-28040P User Manual

Page 222

background image

User’s Manual of WGSW-28040 / 28040P / 28040P4

222

6. Command Line Mode

The CLI groups all the commands in appropriate modes according to the nature of the command. A sample of the CLI command

modes are described below. Each of the command modes supports specific software commands.

Mode-based Command Hierarchy

The Command Line Interface (CLI) groups all the commands in appropriate modes by the nature of the commands. Examples

of the CLI command modes are described below. Each of the command modes supports specific switch’s commands.

The CLI Command Modes table captures the command modes, the prompts visible in that mode and the exit method from that

mode.

Command Mode

Access Method

Prompt

Exit or Access Previous

Mode

User Mode

This is the first level of access.

Perform basic tasks and list

system information.

WGSW-28040>

Enter Logout command

Privileged Mode

From the User Mode, enter the

enable command.

WGSW-28040#

To exit to the User Mode, enter

exit or Logout.

Global Config Mode

From the Privileged Mode,

enter the configuration

command.

WGSW-28040 (Config)#

To exit to the Privileged Mode,

enter the exit command.

Table 6-1 CLI Command Modes

The CLI is divided into various modes. The commands in one mode are not available until the operator switches to that

particular mode. The commands available to the operator at any point in time depend upon the mode. Entering a question mark

(?) at the CLI prompt, and displayss a list of the available commands and descriptions of the commands.

The CLI provides the following modes:

User Mode

When the operator logs into the CLI, the User Mode is the initial mode. The User Mode contains a limited set of commands. The

command prompt shown at this level is:

Command Prompt: WGSW-28040>

Privileged Mode

To have access to the full suite of commands, the operator must enter the Privileged Mode. The Privileged Mode requires

password authentication. From Privileged Mode, the operator can issue any Exec command to enter the Global Configuration

mode. The command prompt shown at this level is:

Command Prompt: WGSW-28040#

This manual is related to the following products: