Cisco AJ732A - MDS 9134 Fabric Switch Command Reference Manual page 239

Cisco mds 9000 family command reference guide - release 4.x (ol-18089-01, february 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

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-18089-01, Cisco MDS NX-OS Release 4.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-99

Advertisement

Table of Contents
loading

Table of Contents