EasyManuals Logo
Home>Cisco>Switch>MDS 9000 Series

Cisco MDS 9000 Series Command Reference

Cisco MDS 9000 Series
1464 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #223 background imageLoading...
Page #223 background image
Send documentation comments to mdsfeedback-doc@cisco.com
4-85
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 4 C Commands
cli alias name
cli alias name
To define a command alias name, use the cli alias name command in configuration submode. To remove
the user-defined command alias, use the no form of the command.
cli alias name command definition
no cli alias name command
Syntax Description
Defaults alias command.
Command Modes Configuration submode.
Command History
Usage Guidelines Follow these guidelines when defining a command alias:
• Command aliases are global for all user sessions.
• Command aliases persist across reboots.
• Commands being aliased must be typed in full without abbreviation.
• Command alias translation always takes precedence over any keyword in any configuration mode or
submode.
• Command alias support is only available on the supervisor module, not the switching modules.
• Command alias configuration takes effect for other user sessions immediately.
• You cannot override the default command alias alias, which is an alias for show cli alias.
• Nesting of command aliases is permitted to a maximum depth of 1. One command alias can refer to
another command alias that refers 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 in either EXEC mode or configuration submode.
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"
command Specifies an alias command name. The maximum size is 30 characters.
definition Specifies the alias command definition. The maximum size is 80
characters.
Release Modification
3.0(1) This command was introduced.

Table of Contents

Other manuals for Cisco MDS 9000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco MDS 9000 Series and is the answer not in the manual?

Cisco MDS 9000 Series Specifications

General IconGeneral
BrandCisco
ModelMDS 9000 Series
CategorySwitch
LanguageEnglish

Related product manuals