
110
Enhancements
Release K.13.19 Enhancements
For example, if you use the show interface custom command to specify the output, you can configure
an alias for the command to simplify execution.
Figure 26. Example of Using the Alias Command with show int custom
Creates a shortcut alias name to use in place of a commonly used command. The
alias command is executed from the current config context.
name: Specifies the new command name to use to simplify keystrokes and aid
memory.
command: Specifies an existing command to be aliased. The command must be
enclosed in quotes.
Use the no form of the command to remove the alias.
ProCurve(config)# show int custom 1-4 port name:4 type vlan intrusion speed
enabled mdi
Status and Counters - Custom Port Status
Intrusion
Port Name Type VLAN Alert Speed Enabled MDI-mode
---- ---------- ---------- ----- --------- ------- ------- --------
1 Acco 100/1000T 1 No 1000FDx Yes Auto
2 Huma 100/1000T 1 No 1000FDx Yes Auto
3 Deve 100/1000T 1 No 1000FDx Yes Auto
4 Lab1 100/1000T 1 No 1000FDx Yes Auto
ProCurve(config)# alias showintstatus “show int custom 1-4 port name:4 type
vlan intrusion speed enabled mdi”
ProCurve(config)#
ProCurve(config)# showintstatus
Status and Counters - Custom Port Status
Intrusion
Port Name Type VLAN Alert Speed Enabled MDI-mode
---- ---------- ---------- ----- --------- ------- ------- --------
1 Acco 100/1000T 1 No 1000FDx Yes Auto
2 Huma 100/1000T 1 No 1000FDx Yes Auto
3 Deve 100/1000T 1 No 1000FDx Yes Auto
4 Lab1 100/1000T 1 No 1000FDx Yes Auto