Mode-based cli, 1 mode-based topology – PLANET WGS3-24240 User Manual

Page 360

Advertising
background image

User’s Manual of WGS3-24000 / WGS3-24240

360

7. MODE-BASED CLI

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.

User Exec Mode

Privileged Exec Mode

Global Config Mode

▫ Vlan

Mode

Interface Config Mode

Line Config Mode

Policy Map Mode

Policy Class Mode

Class Map Mode

The Command Mode 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

Next Mode

User Exec Mode

This is the first level of

access. Perform basic

tasks and list system

information.

(Switching) >

Enter Logout

command

Privileged Exec

Mode

From the User Exec

Mode, enter the enable

command.

(Switching) #

To exit this mode,

enter exit or press

Ctrl-Z.

VLAN Mode

From the Privileged

User Exec mode, enter

the vlan database

command.

(Switching) (Vlan) #

To exit to the

Privileged Exec

mode, enter the exit

command, or press

Ctrl-Z to switch to

user exec mode.

Global Config Mode

From the Privileged

Exec mode, enter the

configure command.

(Switching) (Config)#

To exit to the

Privileged Exec

mode, enter the exit

command, or press

Ctrl-Z to switch to

user exec mode.

Interface Config

Mode

From the Global

Configuration mode,

enter the interface

(Switching) (Interface-"if

number")#

To exit to the Global

Config mode enter

exit. To return to user

Advertising
This manual is related to the following products: