After you have logged in to the system, you will see a command prompt. To enter CLI management interface, type in the “enable” command.
Figure 3.4: Command Line Interface
The following table lists the CLI commands and description.
3.1.1Commands Level
Table 3.1: Command Level
| Modes |
|
| Access Method |
|
| Prompt |
|
| Exit Method |
|
| About This Model |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Begin a session with |
|
|
|
| Enter logout or quit. |
| The user commands available |
| |||
|
|
|
| your switch. |
|
|
|
|
|
|
| at the user level are a subset |
| ||
| User EXEC |
|
|
|
| switch> |
|
|
|
| of those available at the |
| |||
|
|
|
|
|
|
|
|
| privileged level. |
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
| Use this mode to |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| • Perform basic tests. |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| • Display system information. |
| |
|
|
|
| Enter the enable |
|
|
|
| Enter disable to exit. |
| The privileged command is the |
| |||
| Privileged |
| command while in |
|
|
|
|
|
|
| advanced mode |
| |||
|
| user EXEC mode. |
| switch# |
|
|
|
| Use this mode to |
| |||||
| EXEC |
|
|
|
|
|
|
|
| • Display advanced function |
| ||||
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
| status |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| • Save configuration |
| |
| Global |
| Enter the configure |
|
|
|
| To exit to privileged |
| Use this mode to configure the |
| ||||
|
| command while in |
| switch(config)# |
| EXEC mode, enter |
| parameters that are going to |
| ||||||
| configuration |
| privileged EXEC |
|
| exit or end |
| be applied to your switch |
| ||||||
|
|
|
|
|
|
|
| ||||||||
|
|
|
| mode. |
|
|
|
|
|
|
|
|
|
| |
|
|
|
| Enter the vlan |
|
|
|
| To exit to user EXEC |
| Use this mode to configure |
| |||
| VLAN database |
| database command |
| switch(vlan)# |
| mode, enter exit. |
|
| ||||||
|
| while in privileged |
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
| EXEC mode. |
|
|
|
|
|
|
|
|
|
| |
|
|
|
| Enter the interface |
|
|
|
| To exit to global |
| Use this mode to configure the |
| |||
|
|
|
| command (with a |
|
|
|
| configuration mode, |
| parameters for the switch and |
| |||
| Interface |
| specific interface) |
|
| enter exit. |
| Ethernet ports. |
| ||||||
|
| while in global |
|
| To exist to privileged |
|
|
|
| ||||||
| configuration |
|
|
|
|
|
|
| |||||||
|
| configuration mode |
|
|
|
| EXEC mode, enter |
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
| exit or end. |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 | Chapter3 |