
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 | Mode for configuring |
| configuration |
| interface settings |
|
|
|
|
| Line configuration | Switch | Mode for configuring |
|
|
| terminal line settings |
|
|
|
|
| VLAN configuration | Switch | Mode for configuring |
|
|
| VLAN settings |
|
|
|
|
Editing commands | Global edit | Switch (edit)# | Mode for editing all |
|
|
| device items |
|
|
|
|
| Interface edit | Switch | Mode for globally |
|
|
| editing all interface |
|
|
| items |
|
|
|
|
| Line edit | Switch | Mode for editing |
|
|
| terminal line items |
|
|
|
|
| VLAN edit | Switch | 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.