C
HAPTER
18
| Using the Command Line Interface
Entering Commands
– 685 –
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
Console(config)#interface ethernet 1/5
.
.
.
Console(config-if)#exit
Console(config)#
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:
Table 42: Configuration Command Modes
Mode Command Prompt Page
Access
Control List
access-list arp
access-list ip standard
access-list ip extended
access-list ipv6 standard
access-list ipv6 extended
access-list mac
Console(config-arp-acl)
Console(config-std-acl)
Console(config-ext-acl)
Console(config-std-ipv6-acl)
Console(config-ext-ipv6-acl)
Console(config-mac-acl)
962
944
944
950
950
956
CFM ethernet cfm domain Console(config-ether-cfm) 1317
Class Map class-map Console(config-cmap) 1174
ERPS erps domain Console(config-erps) 1087
Interface interface {ethernet port |
port-channel id| vlan id}
Console(config-if) 968
Line line {console | vty} Console(config-line) 728
MSTP spanning-tree mst-configuration Console(config-mstp) 1064
Policy Map policy-map Console(config-pmap) 1177
Time Range time-range Console(config-time-range) 762
VLAN vlan database Console(config-vlan) 1123
Table 43: Keystroke Commands
Keystroke Function
Ctrl-A Shifts cursor to start of command line.
Ctrl-B Shifts cursor to the left one character.
Ctrl-C Terminates the current task and displays the command prompt.
Ctrl-E Shifts cursor to end of command line.
Ctrl-F Shifts cursor to the right one character.