27 Chapter3

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.1 Commands Level

Table 3.1: Command Level

Modes Access Method Prompt Exit Method About This Model
User EXEC
Begin a session with
your switch.
switch>
Enter logout or quit. The user commands available
at the user level are a subset
of those available at the
privileged level.
Use this mode to
Perform basic tests.
Display system information.
Privileged
EXEC
Enter the enable
command while in
user EXEC mode. switch#
Enter disable to exit. The privileged command is the
advanced mode
Use this mode to
Display advanced function
status
Save configuration
Global
configuration
Enter the configure
command while in
privileged EXEC
mode.
switch(config)#
To exit to privileged
EXEC mode, enter
exit or end
Use this mode to configure the
parameters that are going to
be applied to your switch
VLAN database
Enter the vlan
database command
while in privileged
EXEC mode.
switch(vlan)#
To exit to user EXEC
mode, enter exit.
Use this mode to configure
VLAN-specific parameters.
Interface
configuration
Enter the interface
command (with a
specific interface)
while in global
configuration mode
switch(config-if)#
To exit to global
configuration mode,
enter exit.
To exist to privileged
EXEC mode, enter
exit or end.
Use this mode to configure the
parameters for the switch and
Ethernet ports.