Configures global or user-level aliases for device commands.
Alias configuration mode
User-alias configuration mode
Global aliases are available to all users.
User-level aliases are available only for a specified user.
In the alias configuration mode, to delete a global alias use the no form of his command.
In the user-alias configuration mode, to delete a user alias use the no form of his command.
The following example defines ck as a global alias that enters the show clock command.
device# configure terminal device(config)# alias-config device(config-alias-config)# alias ck "show clock"
For the user jdoe, the following example defines sv as a user-level alias that enters the show version command.
device# configure terminal device(config)# alias-config device(config-alias-config)# user jdoe device(config-user-jdoe)# alias sv "show version"