Creating an alias for show vlan commands, Creating an alias for show vlan commands -38 – HP 5400ZL User Manual

Page 70

Advertising
background image

Static Virtual LANs (VLANs)
Configuring VLANs

ProCurve(config)# show vlan custom id
Status and Counters - VLAN Information - Custom view

VLANID

-----

-

1

33

44

ProCurve(config)# show vlan custom id:2
Status and Counters - VLAN Information - Custom view

VL

-

-

1

33

44

Figure 2-25. Example of Column Headers

The total output will wrap if it is longer than the terminal width (for example,
80 characters). It is not truncated.

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.

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

ProCurve(config)# showvlanstatus
Status and Counters - VLAN Information - Custom view

VLANID VLAN name Status

------ -------------------- ----------

1

DEFAULT_VLAN Port-based

33

Vlan33

Port-based

Figure 2-26. Example of the alias Command

2-38

Advertising
This manual is related to the following products: