Send documentation comments to mdsfeedback-doc@cisco.com
1-31
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 1 CLI Overview
About Flash Devices
• Nesting of command aliases is permitted to a maximum depth of 1. One command alias can refer to
another command alias that must refer to a valid command, not to another command alias.
• A command alias always replaces the first command keyword on the command line.
• You can define command aliases for commands in any configuration submode or the EXEC mode.
Defining Command Aliases
You can define command aliases using the cli alias name command in configuration mode.
This following example shows how to define command aliases.
switch# config t
switch(config)# cli alias name gigint interface gigabitethernet
switch(config)# cli alias name shintbr show interface brief
switch(config)# cli alias name shfcintup "shintbr| include up | include fc"
You can display the command aliases defined on the switch using the alias default command alias.
The following example shows how to display the command aliases defined on the switch.
switch# alias
CLI alias commands
==================
alias :show cli alias
gigint :interface gigabitethernet
shintbr :show interface brief
shfcintup :shintbr | include up | include fc
About Flash Devices
Every switch in the Cisco MDS 9000 Family contains one internal bootflash (see Figure 1-2). The Cisco
MDS 9500 Series additionally contains one external CompactFlash called slot0 (see Figure 1-2 and
Figure 1-3).
Figure 1-2 Flash Devices in the Cisco MDS 9000 Supervisor Module
External
CompactFlash
79527
Internal
bootflash
Internal
bootflash
Cisco MDS 9500 Series Director
Slot 0
Cisco MDS 9216 Switch