VLAN Commands Used in this Section
show vlans
show vlan <vlan-id>
max-vlans <1..30>
primary-vlan <vlan-id>
[no] vlan <vlan-id>
name <vlan-name>
[no] tagged <port-list>
[no] untagged <port-list>
[no] forbid
auto <port-list>
static-vlan <vlan-id>
Displaying the Switch's VLAN Configuration. The next 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. (See "GVRP" on page 9-77.)
show vlan
Syntax:
Figure 9-50. Example of "Show VLAN" Listing (GVRP Enabled)
Port-Based Virtual LANs (Static VLANs)
below
page 9-64
page 9-65
page 9-65
page 9-66
page 9-67
page 9-67
page 9-67
page 9-67
page 9-67 (Available if GVRP enabled.)
page 9-67 (Available if GVRP enabled.)
Configuring Advanced Features
When GVRP is disabled
(the default), Dynamic
VLANs do not exist on
the switch and do not
appear in this listing.
(See "GVRP" on page
9-77.)
9-63
Need help?
Do you have a question about the HP ProCurve series 2500 and is the answer not in the manual?