2-416
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
show vlan
show vlan
Use the show vlan user EXEC command to display the parameters for all configured VLANs or one
VLAN (if the VLAN ID or name is specified) on the switch.
show vlan [brief | id vlan-id | name vlan-name | remote-span | summary] [ | {begin | exclude |
include} expression]
Syntax Description
Syntax Description
Note Though visible in the command-line help string when the EI is installed, the internal usage, ifindex,
and private-vlan keywords are not supported.
Command Modes User EXEC
Command History
Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
brief (Optional) Display one line for each VLAN with the VLAN name, status, and its
ports.
id vlan-id (Optional) Display information about a single VLAN identified by VLAN ID
number or a range of VLANs. For vlan-id, the range is 1 to 4094.
name vlan-name (Optional) Display information about a single VLAN identified by VLAN name.
The VLAN name is an ASCII string from 1 to 32 characters.
remote-span (Optional) Display information about Remote SPAN (RSPAN) VLANs.
summary (Optional) Display VLAN summary information. This keyword is available only
if your switch is running the EI.
| begin (Optional) Display begins with the line that matches the expression.
| exclude (Optional) Display excludes lines that match the expression.
| include (Optional) Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.
Release Modification
12.0(5.2)WC(1) This command was introduced.
12.1(9)EA1 The summary keyword was added.
12.1(11)EA1 The remote-span keyword was added.