IOS Command Modes
Table 3-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.
VLAN configuration
While in privileged
EXEC mode, enter the
vlan database
command.
Global configuration
While in privileged
EXEC mode, enter the
configure 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.
Catalyst 2950 Desktop Switch Software Configuration Guide
3-2
Prompt
Exit Method
Enter logout or quit.
Switch>
Enter disable or exit. Use this mode to verify
Switch#
To exit to privileged
Switch(vlan)#
EXEC mode, enter
exit.
Switch(config)#
To exit to privileged
EXEC mode, enter
exit or end, or press
Ctrl-Z.
To exit to global
Switch(config-if)#
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 3
Using the Command-Line Interface
About This Mode
Use this mode to
Change terminal
•
settings.
Perform basic tests.
•
Display system
•
information.
commands that you have
entered. Use a password
to protect access to this
mode.
Use this mode to
configure
VLAN-specific
parameters.
Use this mode to
configure parameters that
apply to the entire switch.
Use this mode to
configure parameters for
the Ethernet interfaces.
Use this mode to
configure parameters for
the terminal line.
78-11380-03