Administrator Guide
Control and Monitoring
alias
Configure shorter alias names for single-line command input.
Syntax
alias alias-name command
To undo the configuration, use the no alias alias-name command command.
Parameters
alias
alias-name
Enter the keyword alias then the alias-name.
NOTE: The
alias-name
length is limited to 32 characters starting with
alphanumeric and are not case-sensitive. Special characters are not allowed
except hyphen— -. You cannot use the reserved keywords such as
configure, show, reload, reboot, exit, end, quit, do, no,
enable, alias, alias-definition, and malias to create the alias
name.
command
Enter the original command syntax for which you want to configure the alias-name.
NOTE: You can enter the arguments with white spaces and must be enclosed
within double quotes—“ “.
Defaults None.
Command Modes
CONFIGURATION
ALIAS-DEFINITION
Command History
This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC
Networking OS Command-Line Reference Guide.
Version Description
9.12(0.0) Introduced on all the Dell EMC Networking OS platforms.
Usage Information
• Users with privilege level 15 only can configure the alias-name. You can configure a maximum of 128 aliases.
• Single-line aliases accept a maximum of 128 bytes.
• User can configure up to nine arguments to the aliases—1 to 9. Repetition of arguments are allowed and the
system does not allow discontinuous arguments.
Example The following example shows how to configure single-line alias-name:
DellEMC#configure terminal
DellEMC(conf)# alias-definition
DellEMC(conf-alias-definition)# alias showipbr10 show ip interface brief
The following example shows how to configure aliases with arguments in EXEC mode:
DellEMC#configure terminal
DellEMC(conf)# alias-definition
DellEMC(conf-alias-definition)# alias procpu show processes cpu management-
unit | grep $1
DellEMC(conf-alias-definition)# alias intbr show ip interface brief | grep
“$1"
DellEMC(conf)# end
DellEMC#
4
Control and Monitoring 81










