CLI Command Navigation
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m .
The do command applies to all EXEC mode commands other than the end and exit commands. You can
also use the help (?) and command completion (Tab) features for EXEC commands when issuing a do
command along with the EXEC command.
Table 2-2
Table 2-2
Command
Ctrl-P
Ctrl-N
Ctrl-R
Ctrl-X H
Alt-P
Alt-N
Ctrl-G
Ctrl-Z
Ctrl-L
CLI Command Navigation
To redisplay a command you previously entered, press the Up Arrow key. You can continue to press the
Up Arrow key to see more previously issued commands. Similarly, you can press the Down Arrow,
Right Arrow, Left Arrow, and Delete keys to navigate through the command history and to modify an
existing command string.
Getting Help
In any command mode, you can get a list of available commands by entering a question mark (?).
switch# ?
To obtain a list of commands that begin with a particular character sequence, type in those characters
followed immediately by the question mark (?). Do not include a space.
switch# co?
configure copy
To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space
before the question mark. This form of help is called command syntax help, because it reminds you
which keywords or arguments are applicable based on the commands, keywords, and arguments you
have already entered.
switch# config ?
Cisco MDS 9000 Family Configuration Guide
2-8
lists some useful command keys that can be used in both EXEC and configuration modes:
Useful Command Key Description
Description
Up history.
Down history.
Refreshes the current line and reprints it.
List history.
When using this key combination, press and release the Ctrl and X keys together
before pressing the H key.
History search backwards.
The difference between Tab completion and Alt- P or Alt-N is that Tab
Note
completes the current word while Alt- P and Alt-N completes a previously
entered command.
History search forwards.
Exit.
End.
Clear screen.
Chapter 2
Before You Begin
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Need help?
Do you have a question about the DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor and is the answer not in the manual?
Questions and answers