Command Aliases
You can create aliases to execute any ExtremeXOS command,
including any options, arguments, and redirection.
For example, you can create an alias called "download" to
substitute for "download image 102.3.10.5". Now
you can now simply type "download" and then the image file name to download your ExtremeXOS image
from the 102.3.10.5 location, instead of typing download
image 102.3.10.5 image_name
Supported Platforms
Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X870, X440-G2,
X620, X690 series switches.
Limitations
- Arguments cannot occur in the middle of alias commands. For example, you
cannot create an alias "set_vlan_ip" for the command configure vlan
vlan_name
ipaddress
ip_address where you specify the VLAN name as
an argument. This is because aliases work through direct textual substitution.
- Aliases cannot be chained together. For example, if you create an alias
"sh" for show version and another alias "ps" for
process, then entering sh ps at the prompt is not equivalent to entering
“show version process”.
- You cannot tab-complete commands when creating an alias by using the
alias command.
- Aliases cannot be created for the current shell session using UPM
scripts or Python scripts.
- Tab completion does not work for commands given inside the aliases.
New CLI Commands
alias alias_name
command
unalias alias_name
-a