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.
Syntax Description
brief
id vlan-id
name vlan-name
remote-span
summary
| begin
| exclude
| include
expression
Syntax Description
Though visible in the command-line help string when the EI is installed, the internal usage, ifindex,
Note
and private-vlan keywords are not supported.
Command Modes
User EXEC
Command History
Release
12.0(5.2)WC(1)
12.1(9)EA1
12.1(11)EA1
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.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-416
show vlan [brief | id vlan-id | name vlan-name | remote-span | summary] [ | {begin | exclude |
include} expression]
(Optional) Display one line for each VLAN with the VLAN name, status, and its
ports.
(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.
(Optional) Display information about a single VLAN identified by VLAN name.
The VLAN name is an ASCII string from 1 to 32 characters.
(Optional) Display information about Remote SPAN (RSPAN) VLANs.
(Optional) Display VLAN summary information. This keyword is available only
if your switch is running the EI.
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
The summary keyword was added.
The remote-span keyword was added.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
0L-10102-01