HP 5400ZL User Manual
Page 63

Static Virtual LANs (VLANs)
Configuring VLANs
VLAN Commands
Page
show vlans
below
show vlans < vid >
show vlans ports <port-list>
max-vlans <1-2048>
primary-vlan < vid >
[no] vlan < vid >
auto < port-list >
2-43 (Available if GVRP enabled.)
forbid
name < vlan-name
>
protocol < protocol-list >
tagged < port-list >
untagged < port-list >
voice
static-vlan < vlan-id >
2-43 (Available if GVRP enabled.)
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” .)
Syntax:
show vlans
Maximum VLANs to support: Shows the number of VLANs the
switch can currently support. (Default: 256 Maximum: 2048)
Primary VLAN: Refer to “The Primary VLAN” on page 2-51.
Management VLAN: Refer to “The Secure Management VLAN” on
page 2-52.
802.1Q VLAN ID: The VLAN identification number, or VID. Refer
to “Terminology” on page 2-7.
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.
2-31