Viewing the configuration for a particular VLAN
Syntax:
show vlans vlan-id
Uses the VID to identify and display the data for a specific static or dynamic VLAN.
- 802.1Q VLAN ID
The VLAN identification number, or VID.
- Name
The default or specified name assigned to the VLAN. For a static VLAN, the default name consists of
VLAN-x
wherex
matches the VID assigned to that VLAN. For a dynamic VLAN, the name consists ofGVRP_x
wherex
matches the applicable VID.- Status
- Voice
Indicates whether a port-based VLAN is configured as a voice VLAN.
- Jumbo
Indicates whether a VLAN is configured for Jumbo packets.
- Port Information
Lists the ports configured as members of the VLAN.
- DEFAULT
Shows whether a port is a tagged or untagged member of the listed VLAN.
- Unknown VLAN
Shows whether the port can become a dynamic member of an unknown VLAN for which it receives an advertisement. GVRP must be enabled to allow dynamic joining to occur.
- Status
Shows whether the port is participating in an active link.
Viewing information for a specific static VLAN
switch(config)# show vlans 22 Status and Counters - VLAN Information - VLAN 22 VLAN ID : 22 Name : VLAN22 Status : Port-based Voice : Yes Jumbo : No Port Information Mode Unknown VLAN Status ---------------- -------- ------------ ---------- 12 Untagged Learn Up 13 Untagged Learn Up 14 Untagged Learn Up 15 Untagged Learn Down 16 Untagged Learn Up 17 Untagged Learn Up 18 Untagged Learn Up
Viewing information for a specific dynamic VLAN
show vlans
command lists this data when GVRP is enabled and at least one port on the switch has dynamically joined the designated VLAN.
switch(config)# show vlans 22 Status and Counters - VLAN Information - VLAN 22 VLAN ID : 33 Name : GVRP_33 Status : Dynamic Voice : No Jumbo : No Port Information Mode Unknown VLAN Status ---------------- -------- ------------ ---------- 6 Auto Learn Up