Viewing VLAN information

Show command Output
show vlan

Lists:

  • Maximum number of VLANs to support

  • Existing VLANs

  • Status (static or dynamic)

  • Primary VLAN

show vlan vlan-id

For the specified VLAN, lists:

  • Name, VID, and status (static/dynamic)

  • Per-port mode (tagged, untagged, forbid, no/auto)

  • "Unknown VLAN" setting (Learn, Block, Disable)

  • Port status (up/down)

Example

Suppose that your switch has the following VLANs:

Ports VLAN VID
A1-A12 DEFAULT_VLAN 1
A1, A2 VLAN-33 33
A3, A4 VLAN-44 44

The next three figures show how you could list data on the above VLANs.

Listing the VLAN ID (vid) and status for specific ports

Listing the VLAN ID (vid) and status for specific ports

Example of VLAN listing for the entire switch

Example of VLAN listing for the entire switch

Port listing for an individual VLAN

Port listing for an individual VLAN