HP (Hewlett-Packard) 6120 Model Vehicle User Manual


 
2-28
Static Virtual LANs (VLANs)
Configuring VLANs
Displaying the Switch’s VLAN Configuration. The show vlans command
lists the VLANs currently running in the switch, with VID, VLAN name, and
VLAN status. Dynamic VLANs appear only if the switch is running with GVRP
enabled and one or more ports has dynamically joined an advertised VLAN.
(In the default configuration, GVRP is disabled. (Refer to chapter 3, “GVRP” .)
VLAN Commands
Page
show vlans below
show vlans < vid >2-32
show vlans ports <port-list>
max-vlans <1-256> 2-33
primary-vlan <
vid >2-34
[no] vlan <
vid >2-35
auto < port-list
> 2-37 (Available if GVRP enabled.)
forbid 2-37
name < vlan-name
> 2-37
protocol < protocol-list >2-35
tagged < port-list >2-37
untagged < port-list >2-37
voice 2-54
static-vlan < vlan-id > 2-37 (Available if GVRP enabled.)
Syntax:
show vlans
Maximum VLANs to support: Shows the number of VLANs the
switch can currently support. (Default: 256 Maximum: 256)
Primary VLAN: Refer to “The Primary VLAN” on page 2-45.
Management VLAN: Refer to “The Secure Management VLAN” on
page 2-46.
802.1Q VLAN ID: The VLAN identification number, or VID. Refer
to “Terminology” on page 2-6.
Name: The default or specified name assigned to the VLAN. For
a static VLAN, the default name consists of VLAN-x where “x
matches the VID assigned to that VLAN. For a dynamic VLAN,
the name consists of GVRP_x where “x” matches the applicable
VID.