Port-Based Virtual LANs (VLANs) and GVRP

Port-Based Virtual LANs (Static VLANs)

VLAN Commands

Page

 

 

show vlans

below

show vlan <vlan-id>

11-17

max-vlans <1..256>

11-18

primary-vlan <vlan-id>

11-18

[no] vlan <vlan-id>

11-19

name <vlan-name>

11-20

[no] tagged <port-list>

11-20

[no] untagged <port-list>

11-20

[no] forbid

11-20

auto <port-list>

11-20(Available if GVRP enabled.)

static-vlan <vlan-id>

11-20(Available if GVRP enabled.)

 

 

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 11-34.)

Syntax: show vlan

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 11-34.)

Figure 11-12. Example of “Show VLAN” Listing (GVRP Enabled)

11-16