ECS4100 Series CLI Reference Guide-R07

Table Of Contents
Chapter 2
| Using the Command Line Interface
Entering Commands
– 87 –
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 4: 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)
396
378
378
384
384
390
Class Map class-map Console(config-cmap) 650
Interface interface {ethernet port | port-channel id |
vlan id}
Console(config-if ) 402
Line line {console | vty} Console(config-line) 144
MSTP spanning-tree mst-configuration Console(config-mstp) 527
Policy Map policy-map Console(config-pmap) 653
Time Range time-range Console(config-time-range) 180
VLAN vlan database Console(config-vlan) 558
Table 5: 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.