2-2
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
alias
aliasTo set and display command aliases, use the alias command.
alias [name=value]
Syntax Description
Defaults This command has no default settings.
Command Types ROM monitor command.
Command Modes Normal.
Usage Guidelines If value contains white space or other special (shell) characters, you must use quotation marks. If value
has a space as its last character, the next command line w or d is ch eck ed for an ali as. ( Normal ly, only the
first word on a command line is checked.)
Without an argument, this command prints a list of all aliased names with their values.
An equal sign (=) is required between the name and value of the alias.
You must issue a sync command to save your change. If you do not issue a sync command, the change
is not saved, and a reset removes your change.
Examples This example shows how to display a list of available alias commands and how to create an alias for the
set command:
rommon 1 > alias
r=repeat
h=history
?=help
b=boot
ls=dir
i=reset
k=stack
rommon 2 > alias s=set
rommon 3 > alias
r=repeat
h=history
?=help
b=boot
ls=dir
i=reset
name=(Optional) Name you give to the alias.
value (Optional) Value of the alias.