30
Summary of the 5 command modes.
Command
Mode
Main Function
Enter and Exit Method
Prompt
User EXEC
This is the first level of access.
User can ping, telnet remote
device, and show some basic
information
Enter:
Login
successfully
Exit:
exit
to logout.
Next mode: Type
enable
to
enter privileged EXEC mode.
Switch>
Privileged
EXEC
In this mode, the system allows
you to view current configuration,
reset default, reload switch, show
system information, save
configuration…and enter global
configuration mode.
Enter: Type
enable
in User
EXEC mode.
Exec: Type
disable
to exit to
user EXEC mode.
Type
exit
to logout
Next Mode: Type
configure
terminal
to enter global
configuration
command.
Switch#
Global
configuration
In global configuration mode, you
can configure all the features that
the system provides you
Enter: Type
configure
terminal
in privileged EXEC
mode
Exit: Type
exit
or
end
or press
Ctrl-Z
to exit.
Next mode: Type
interface
IFNAME/ VLAN VID
to enter
interface configuration mode
Switch(config)#
Port
Interface
configuration
In this mode, you can configure
port related settings.
Enter: Type
interface IFNAME
in global configuration mode.
Exit: Type
exit
or
Ctrl+Z
to
global configuration mode.
Switch(config-if)#
Switch(config)# interface vlan 1
Switch(config-if)#
description Interface specific description
end End current mode and change to enable mode
exit Exit current mode and down to previous mode
ip Interface Internet Protocol config commands
list Print command list
no Negate a command or set its defaults
quit Exit current mode and down to previous mode
shutdown Shutdown the selected interface