Cisco Switch 2900/2950: Display VLAN Information

Posted July 28, 2006 by CISSP06 in Cisco switch

Knowing the commands to display configuration information about Virtual LANs (VLANs) is as important as knowing the commands to configure them. The commands here display information about all VLANs or a single VLAN by number or name.

All of these commands must be run from privileged mode. To view detailed information about all VLANs on the local switch, use the following command:

# show vlan

To shorten the output and just display the highlights about all of the VLANs, use the following:

# show vlan brief

To display information about VLAN 3, use this command:

# show vlan id 3

This version of the command can be extended to look at multiple VLANs. For example, to view information about VLANs 1, 2, 3 and 10, use the following command:

# show vlan id 1-3,10

For increased administratability, VLANs can be named. To view information about a VLAN by name, for instance the VLAN named ‘engineering’ use this command:

# show vlan name engineering

The Conversation

Follow the reactions below and share your own thoughts.