Using the CLI
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
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-
The no and Default Forms of Commands
You can issue the no form of any command to perform the following actions:
•
Cisco MDS 9000 Family CLI Configuration Guide
2-10
fcalias
fcdroplatency
fcip
fcs
fcdroplatency
bootflash://module-6/
Undo a wrongly issued command.
If you issue the member command in zone configuration submode, you can undo the results:
switch(config)# zone name test vsan 1
switch(config-zone)# member pwwn 12:12:12:12:12:12:12:12
fcanalyzer
fcflow
fcns
fcsp
bootflash://sup-1/
bootflash://sup-2/
bootflash://sup-active/
bootflash://sup-local/
Chapter 2
fcc
fcid-allocation
fcroute
fctimer
bootflash://sup-remote/
bootflash://sup-standby/
OL-18084-01, Cisco MDS NX-OS Release 4.x
Before You Begin