Understanding Command Modes
Table 2-1
Command Mode Summary
Mode
Access Method
User EXEC
Begin a session with
your switch.
Privileged EXEC
While in user EXEC
mode, enter the
enable command.
Global configuration
While in privileged
EXEC mode, enter
the configure
command.
VLAN configuration
While in global
configuration mode,
enter the
vlan vlan-id
command.
Interface
While in global
configuration
configuration mode,
enter the interface
command (with a
specific interface).
Line configuration
While in global
configuration mode,
specify a line with
the line vty or line
console command.
For more detailed information on the command modes, see the command reference guide for this release.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
2-2
Prompt
Exit Method
Enter logout or
Switch>
quit.
Enter disable to
Switch#
exit.
To exit to privileged
Switch(config)#
EXEC mode, enter
exit or end, or press
Ctrl-Z.
To exit to global
Switch(config-vlan)#
configuration mode,
enter the exit
command.
To return to
privileged EXEC
mode, press Ctrl-Z
or enter end.
Switch(config-if)#
To exit to global
configuration mode,
enter exit.
To return to
privileged EXEC
mode, press Ctrl-Z
or enter end.
To exit to global
Switch(config-line)#
configuration mode,
enter exit.
To return to
privileged EXEC
mode, press Ctrl-Z
or enter end.
Chapter 2
Using the Command-Line Interface
About This Mode
Use this mode to
Change terminal settings.
•
Perform basic tests.
•
Display system
•
information.
Use this mode to verify
commands that you have
entered. Use a password to
protect access to this mode.
Use this mode to configure
parameters that apply to the
entire switch.
Use this mode to configure
VLAN parameters.
Use this mode to configure
parameters for the Ethernet
ports.
For information about defining
interfaces, see the
Interface Configuration Mode"
section on page
9-7.
To configure multiple
interfaces with the same
parameters, see the
"Configuring a Range of
Interfaces" section on
page
9-8.
Use this mode to configure
parameters for the terminal
line.
"Using
78-17058-01