show vlan

Syntax

show vlan <VLAN-ID>
        

Description

Lists the maximum number of VLANs to support, existing VLANS, VLAN status (static or dynamic), and primary VLAN.

Parameters

<VLAN-ID>

Lists the following for the specified VLAN:

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

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

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

  • Port status (up/down)

List data on specific VLANs

The next three figures show how you can list data for the following VLANs:

Ports VLAN VID

A1-A12

DEFAULT_VLAN

1

A1, A2

VLAN-33

33

A3, A4

VLAN-44

44

Listing the VLAN ID (vid) and status for specific ports
Example of VLAN listing for the entire switch
Port listing for an individual VLAN