2-397
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
show vlan
show vlan
To display VLAN information, use the show vlan command.
show vlan [brief | id vlan_id | name name]
show vlan private-vlan [type]
Syntax Description
Defaults This command has no default settings.
Command Modes Privileged EXEC
Command History
Examples This example shows how to display the VLAN parameters for all VLANs within the administrative
domain:
Switch# show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa5/9
2 VLAN0002 active Fa5/9
3 VLAN0003 active Fa5/9
4 VLAN0004 active Fa5/9
5 VLAN0005 active Fa5/9
6 VLAN0006 active Fa5/9
10 VLAN0010 active Fa5/9
20 VLAN0020 active Fa5/9
<...Output truncated...>
brief (Optional) Displays only a single line for each VLAN, naming the VLAN, status, and
ports.
id vlan_id (Optional) Displays information about a single VLAN identified by VLAN ID
number; valid values are from 1 to 4094.
name name (Optional) Displays information about a single VLAN identified by VLAN name;
valid values are an ASCII string from 1 to 32 characters.
private-vlan Displays private VLAN information.
type (Optional) Private VLAN type.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(12c)EW Added support for extended VLAN addresses.