System information
3-7
Entering Commands
3
To enter the Global Configuration mode, enter the command configure in Privileged
Exec mode. The system prompt will change to “Console(config)#” which gives you
access privilege to all Global Configuration commands.
To enter the other modes, at the configuration prompt type one of the following
commands. Use the exit or end command to return to the Privileged Exec mode.
For example, you can use the following commands to enter interface configuration
mode, and then return to Privileged Exec mode
Command Line Processing
Commands are not case sensitive. You can abbreviate commands and parameters
as long as they contain enough letters to differentiate them from any other currently
available commands or parameters. You can use the Tab key to complete partial
commands, or enter a partial command followed by the “?” character to display a list
of possible matches. You can also use the following editing keystrokes for
command-line processing:
Console#configure
Console(config)#
Table 3-2. Configuration Modes
Mode Command Prompt Page
Line line {console | vty} Console(config-line)# 3-47
Interface interface {ethernet port | port-channel id| vlan id} Console(config-if)# 3-55
VLAN vlan database Console(config-vlan) 3-83
Console(config)#interface ethernet 1/5
.
.
.
Console(config-if)#exit
Console(config)#
Table 3-3. Command Line Processing
Keystroke Function
Ctrl-A Shifts cursor to start of command line.
Ctrl-B Shifts cursor to the left one character.
Ctrl-E Shifts cursor to end of command line.
Ctrl-F Shifts cursor to the right one character.
Ctrl-P Shows the last command.
Ctrl-U Deletes the entire line.