1-29
Static Virtual LANs (VLANs)
Configuring VLANs
For example:
Figure 1-19.  Example of “Show VLAN” Listing (GVRP Enabled)
Displaying the VLAN Membership of One or More Ports.  
This command shows to which VLAN a port belongs. 
Status: 
Port-Based: Port-Based, static VLAN
Protocol: Protocol-Based, static VLAN
Dynamic: Port-Based, temporary VLAN learned through 
GVRP (Refer to chapter 2, “GVRP” .)
Voice: Indicates whether a (port-based) VLAN is configured as 
a voice VLAN. Refer to “Voice VLANs” on page 1-58.
Jumbo: Indicates whether a VLAN is configured for Jumbo 
packets. For more on jumbos, refer to the chapter titled “Port 
Traffic Controls” in the Management and Configuration Guide 
for your switch.
When GVRP is disabled 
(the default), Dynamic 
VLANs do not exist on the 
switch and do not appear 
in this listing. (Refer to 
chapter 2, “GVRP” .)
HP Switch# show vlans
 Status and Counters - VLAN Information
  Maximum VLANs to support : 256
  Primary VLAN : DEFAULT_VLAN
  Management VLAN :
  VLAN ID Name                 | Status     Voice Jumbo
  ------- -------------------- + ---------- ----- -----
  1       DEFAULT_VLAN         | Port-based No    No
  10      VLAN_10              | Port-based Yes   Yes
  15      VLAN_15              | Port-based No    No
  20      VLAN_20              | Protocol   No    No
  33      VLAN_33              | Dynamic    No    No
Syntax: show vlan ports < port-list >  [detail]
Displays VLAN information for an individual port or a group of 
ports, either cumulatively or on a detailed per-port basis.
port-list: Specify a single port number, a range of ports (for 
example, a1-a16), or all. 
detail: Displays detailed VLAN membership information on a per-
port basis.