Cisco Switch 2900/2950: Display VLAN information

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:

# show vlan

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

# show vlan brief

To display information about VLAN 3, use:

# 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:

# 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.

One Response to “Cisco Switch 2900/2950: Display VLAN information”

  1. May 09, 2013 at 9:40 pm, Bob said:

    I am trying to understand Cisoc VLANs. Is there a demonstration available to see messages being tagged as they flow through a switch?

    Thanks,

    Reply

Leave a Reply

You may also like-

Cisco 2900 Switch: Create a VLANCisco 2900 Switch: Create a VLANA VLAN (Virtual Local Area Network) makes a single physical switch behave like several separate switches. A host connected to one VLAN cannot communicate ... Newer Catalyst and Router Switch Module VLAN ConfigurationNewer Catalyst and Router Switch Module VLAN ConfigurationThe following contains configuration notes for newer catalyst switches and switch modules. IOS-based switches require slightly different configuration than their CatOS counterparts. One of ...