show vlan

This command displays information about the configured private VLANs, including primary and secondary VLAN IDs, type (community, isolated, or primary) and the ports which belong to a private VLAN.

Format show vlan {vlanid| private-vlan [type]}
Mode
  • Privileged EXEC
  • User EXEC
Column
Meaning
Primary Primary VLAN identifier. The range of the VLAN ID is 1 to 4093.
Secondary Secondary VLAN identifier.
Type Secondary VLAN type (community, isolated, or primary).
Ports Ports which are associated with a private VLAN.
VLAN ID The VLAN identifier (VID) associated with each VLAN. The range of the VLAN ID is 1 to 4093.
VLAN Name A string associated with this VLAN as a convenience. It can be up to 32 alphanumeric characters long, including blanks. The default is blank. VLAN ID 1 always has a name of Default. This field is optional.
VLAN Type Type of VLAN, which can be Default (VLAN ID = 1) or static (one that is configured and permanently defined), or Dynamic. A dynamic VLAN can be created by GVRP registration or during the 802.1X authentication process (DOT1X) if a RADIUS (Remote Authentication Dial In User Service)-assigned VLAN does not exist on the switch.
Interface unit/slot/port. It is possible to set the parameters for all ports by using the selectors on the top line.
Current The degree of participation of this port in this VLAN. The permissible values are:
  • Include - This port is always a member of this VLAN. This is equivalent to registration fixed in the IEEE 802.1Q standard.
  • Exclude - This port is never a member of this VLAN. This is equivalent to registration forbidden in the IEEE 802.1Q standard.
  • Autodetect - To allow the port to be dynamically registered in this VLAN via GVRP. The port will not participate in this VLAN unless a join request is received on this port. This is equivalent to registration normal in the IEEE 802.1Q standard.
Configured The configured degree of participation of this port in this VLAN. The permissible values are:
  • Include - This port is always a member of this VLAN. This is equivalent to registration fixed in the IEEE 802.1Q standard.
  • Exclude - This port is never a member of this VLAN. This is equivalent to registration forbidden in the IEEE 802.1Q standard.
  • Autodetect - To allow the port to be dynamically registered in this VLAN via GVRP. The port will not participate in this VLAN unless a join request is received on this port. This is equivalent to registration normal in the IEEE 802.1Q standard.
Tagging The tagging behavior for this port in this VLAN.
  • Tagged - Transmit traffic for this VLAN as tagged frames.
  • Untagged - Transmit traffic for this VLAN as untagged frames.