Chapter 2
Before You Begin
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
Displaying the Present Working Context
Some features have configuration submode hierarchy nested more than one level deep. In these cases,
you can display the commands you used to reach your present working context (PWC). To display the
command used to reach the current PWC, issue the pwc command at any command mode prompt.
switch(config-if)# pwc
(config t) -> (int mgmt 0)
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.
Command Completion
In any command mode, you can begin a particular command sequence and immediately press the Tab
key to complete the rest of the command.
switch(config)# ro<Tab>
switch(config)# role <Tab>
switch(config)# role name
This form of help is called command completion, because it completes a word for you. If several options
are available for the typed letters, all options that match those letters are presented:
switch(config)# fc<Tab>
fc-tunnel
fcdomain
fcinterop
fcrxbbcredit
switch(config)# fcd <Tab>
fcdomain
switch(config)# fcdo<Tab>
switch(config)# fcdomain
File System Completion
You can use the Tab key to complete schemes, servers, and file names available in the file system.
For example,
switch# cd bootflash:<Tab>
bootflash:
bootflash:///
bootflash://module-5/
bootflash://module-6/
switch# cd bootflash://mo<Tab>
bootflash://module-5/
cvswitch# cd bootflash://module-
OL-16184-01, Cisco MDS SAN-OS Release 3.x
fcalias
fcanalyzer
fcdroplatency
fcflow
fcip
fcns
fcs
fcsp
fcdroplatency
bootflash://sup-1/
bootflash://sup-2/
bootflash://sup-active/
bootflash://sup-local/
bootflash://module-6/
fcc
fcid-allocation
fcroute
fctimer
bootflash://sup-remote/
bootflash://sup-standby/
Cisco MDS 9000 Family CLI Configuration Guide
Using the CLI
2-9