Table 1: Command Mode Summary
About This ModeExit MethodPromptAccess MethodMode
Usethis mode to
Change
terminal
settings.
Performbasic
tests.
Display
system
information.
Enterlogout or
quit.
Switch>
Begina session
usingTelnet, SSH,
orconsole.
UserEXEC
Usethis mode to
verifycommands
thatyou have
entered.Use a
passwordto protect
accessto this mode.
Enterdisable to
exit.
Switch#
Whilein user EXEC
mode,enter the
enablecommand.
PrivilegedEXEC
Usethis mode to
configure
parametersthat
applyto the entire
switch.
Toexit to privileged
EXECmode, enter
exitor end, or press
Ctrl-Z.
Switch(config)#
Whilein privileged
EXECmode, enter
theconfigure
command.
Global
configuration
Usethis mode to
configureVLAN
parameters.When
VTPmode is
transparent,you can
create
extended-range
VLANs(VLAN IDs
greaterthan 1005)
andsave
configurationsin the
switchstartup
configurationfile.
Toexit to global
configurationmode,
enterthe exit
command.
Toreturn to
privilegedEXEC
mode,press Ctrl-Z
orenter end.
Switch(config-vlan)#
Whilein global
configurationmode,
enterthe vlan
vlan-idcommand.
VLAN
configuration
Usethis mode to
configure
parametersfor the
Ethernetports.
Toexit to global
configurationmode,
enterexit.
Toreturn to
privilegedEXEC
mode,press Ctrl-Z
orenter end.
Switch(config-if)#
Whilein global
configurationmode,
enterthe interface
command(with a
specificinterface).
Interface
configuration
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
2OL-29440-01
Using the Command-Line Interface
Command Modes