Viewing the VLAN membership of one or more ports
Syntax:
show vlan ports port-list [detail]
Displays VLAN information for an individual port or a group of ports, either cumulatively or on a detailed per-port basis.
port-list
Specifies a single port number or a range of ports (for example,
a1-a16
), orall
for which to display information.detail
Displays detailed VLAN membership information on a per-port basis.
Descriptions of items displayed by the command are:
- Port name
The user-specified port name, if one has been assigned.
- 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.
- Mode
Indicates whether a VLAN is tagged or untagged.
Viewing VLAN ports (cumulative listing)
switch(config)# show vlan ports a1-a24 Status and Counters - VLAN Information - for ports A1-A24 VLAN ID Name | Status Voice Jumbo ------- -------------------- + ---------- ----- ----- 1 DEFAULT_VLAN | Port-based No No 10 VLAN_10 | Port-based Yes No 15 VLAN_15 | Protocol No No
Viewing VLAN ports (detailed listing)
switch(config)# show vlan ports a1-a3 detail Status and Counters - VLAN Information - for ports A1 VLAN ID Name | Status Voice Jumbo Mode ------- -------------------- + ---------- ----- ----- -------- 1 DEFAULT_VLAN | Port-based No No Untagged 10 VLAN_10 | Port-based Yes No Tagged Status and Counters - VLAN Information - for ports A2 VLAN ID Name | Status Voice Jumbo Mode ------- -------------------- + ---------- ----- ----- -------- 1 DEFAULT_VLAN | Port-based No No Untagged 20 VLAN_20 | Protocol No No Untagged Status and Counters - VLAN Information - for ports A3 VLAN ID Name | Status Voice Jumbo Mode ------- -------------------- + ---------- ----- ----- -------- 1 DEFAULT_VLAN | Port-based No No Untagged 33 VLAN_33 | Port-based No No Tagged