2-250
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set alias
set alias
To define aliases (shorthand versions) of commands, use the set alias command.
set alias name command [parameter] [parameter]
Syntax Description
Defaults The default is no aliases are configured.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The name all cannot be defined as an alias. Reserved words cannot be defined as aliases.
You can set a maximum of 100 aliases on the switch.
For additional information about the parameter value, see the specific command for information about
applicable parameters.
Examples This example shows how to set the alias for the clear arp command as arpdel:
Console> (enable) set alias arpdel clear arp
Command alias added.
Console> (enable)
Related Commands clear alias
show alias
name Alias being created.
command Command for which the alias is being created.
parameter (Optional) Parameters that apply to the command for which an alias is being created.