Chapter 4
C Commands
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
Examples
The following example shows how to define command aliases in configuration submode.
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
Related Commands
Command
alias
show cli alias
OL-16217-01, Cisco MDS SAN-OS Release 3.x
Description
Displays the default alias command for show cli alias.
Displays all configured aliases.
Cisco MDS 9000 Family Command Reference
cli alias name
4-95