User's Manual
51
Switch> ?
Enter several familiar characters and press the space key. The available command list
starting with the entered familiar characters is displayed.
Switch> s?
Enter a command, press the space key and enter the question mark. The command
parameter list is displayed.
Switch> show ?
Press the “up” key and the commands entered before can be displayed. Continue to press
the “up” key and more commands are to be displayed. After that, press the “down” key and
the next command to be entered is displayed under the current command.
3.4 Command Modes
The command line interfaces for the switch can be classified into several modes. Each command
mode enables you to configure different groupware. The command that can be used currently is
up to the command mode where you are. You can enter the question mark in different command
modes to obtain the available command list. Common command modes are listed in the following
table:
Command
Mode
Login Mode Prompt Exit Mode
System
monitoring
mode
Enter
Ctrl-p
after the
power is on.
monitor# Run
quit
.
User mode Log in. Switch> Run
exit
or
quit
.
Management
mode
Enter
enter
or
enable
in user mode.
Switch# Run
exit
or
quit
.
Office
configuration
mode
Enter
config
in
management mode.
Switch_config# Run
exit
or
quit
or
Ctrl-z
to
directly back to the
management mode.
Port
configuration
mode
Enter the
interface
command in office
configuration mode,
such as
interface f0/1
.
Switch_config_f0/1# Run
exit
or
quit
or
Ctrl-z
to
directly back to the
management mode.
Each command mode is unsuitable to subsets of some commands. If problem occurs when you
enter commands, check the prompt and enter the question mark to obtain the available command
list. Problem may occur when you run in incorrect command mode or you misspelled the command.
Pay attention to the changes of the interface prompt and the relative command mode in the
following case:
Switch> enter
Password: <enter password>
Switch# config
Switch_config# interface f0/1
Switch_config_f0/1#
quit
Switch_config# quit
Switch#