Creating an alias for show VLAN commands

Create an alias for a frequently used show vlans custom command to avoid entering the selected columns each time you use the command.

Using a VLAN alias

switch(config)# alias showvlanstatus = “show vlan custom A1-A3 id name:20 status”

switch(config)# show vlan status
Status and Counters - VLAN Information - Custom view

VLANID VLAN name            Status
------ -------------------- ----------
1      DEFAULT_VLAN         Port-based
33     Vlan33               Port-based