show vlan

This topic explains the command that displays information about one or more VLANs.

Syntax

show vlan vlan-list

Parameter

vlan-list: The VLAN ID or list of IDs for which information must be displayed. The vlan-list parameter represents a single VLAN ID (Example: 3), a range of VLAN IDs in which the IDs are separated by a hyphen (Example: 5-9), or a combination of both, in which the single IDs and ranges of IDs are separated by one or more commas (Example: 3,5-9,14,101-104). VLAN IDs can be from 1 to 4094.

Default

No default value.

Mode

Privileged EXEC

Usage

Use this command to display information about one or more VLANs.

Example: This example shows how to display information about VLAN 1:

CODE
Switch# show vlan 1

  VID  | VLAN Name    |  Untagged Port    | Tagged Port |  Type
-------+--------------+-------------------+-------------+--------
     1 |    default   |1/0/1-1/0/28,lag1-4|         --- | Default