GSWB

CHAPTER 8 CLI Operations

Command type

Command mode

Prompt

Description

Configuration

Global configuration

Switch (config)#

Mode for configuring

definition commands

 

 

settings for the whole

 

 

 

device

 

 

 

 

 

Interface

Switch (config-if)#

Mode for configuring

 

configuration

 

interface settings

 

 

 

 

 

Line configuration

Switch (config-line)#

Mode for configuring

 

 

 

terminal line settings

 

 

 

 

 

VLAN configuration

Switch (config-vlan)#

Mode for configuring

 

 

 

VLAN settings

 

 

 

 

Editing commands

Global edit

Switch (edit)#

Mode for editing all

 

 

 

device items

 

 

 

 

 

Interface edit

Switch (edit-if)#

Mode for globally

 

 

 

editing all interface

 

 

 

items

 

 

 

 

 

Line edit

Switch (edit-line)#

Mode for editing

 

 

 

terminal line items

 

 

 

 

 

VLAN edit

Switch (edit-vlan)#

Mode for editing

 

 

 

VLAN items

 

 

 

 

Note: The above prompts are examples where the host name is "Switch".

After login to the GSWB, a transition to either of the command modes of the operation commands depends on the user privilege, as shown in the following table.

Table 8.2 User privileges and command modes

No.

User privilege

Operation command mode

transition destination

 

 

1

LDAP user privilege user

user exec

2

LDAP admin privilege user

enabled exec

After a transition to enabled exec, the configure command can be used for a transition of a command mode of the configuration definition commands or the editing commands.

8-2

C122-E003-02EN