Creating An Alias For Show Vlan Commands; Note On Using Pattern Matching With The "Show Vlans Custom" Command - HP 3500 Series Advanced Traffic Management Manual

Switch software
Hide thumbs Also See for 3500 Series:
Table of Contents

Advertisement

Static Virtual LANs (VLANs)
Configuring VLANs
HP Switch
(config)# alias showvlanstatus = "show vlan custom A1-A3 id name:20
status"
HP Switch
(config)# showvlanstatus
Status and Counters - VLAN Information - Custom view
VLANID VLAN name
------ -------------------- ----------
1
DEFAULT_VLAN
33
Vlan33
Figure 1-26. Example of the alias Command
1-36

Creating an Alias for Show VLAN Commands

You can create an alias for a frequently used show vlans custom command to
avoid entering the selected columns each time you use the command.
Status
Port-based
Port-based
Note on Using Pattern Matching with the
"Show VLANs Custom" Command
If you have included a pattern matching command to search for a field in the
output of the show vlan custom command and the show vlans custom command
produces an error, the error message may not be visible and the output is
empty. For example, if you enter a command that produces an error (vlan is
misspelled) with the pattern matching include option:
HP Switch(config)# show vlans custom 1-3 name vlun |
include vlan1
the output may be empty. It is advisable to try the show vlans custom command
first to ensure there is output, and then enter the command again with the
pattern matching option.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents