alias — global
mode alias-name command
This command allows you to configure an alias, or abbreviation, for any IOS command.
The mode to which the alias and the command that you are aliasing belong. It can be any of the configuration modes:
configuration (for global commands),
The name to be assigned to the alias.
The IOS command represented by the alias.
To assign the shorthand
t1 to the command
telnet 10.1.1.1 2001, use the following command:
alias exec t1 telnet 10.1.1.1 2001