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

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