Scroll To Top

Configure VLAN on Cisco Switch Using Cisco Packet Tracer

Posted in Articles, CCNA6 months ago • Written by Shais9 Comments

This is how to configure VLAN on Cisco Switch or Virtual LAN on Cisco Switches in your network. A VLAN is a switched network that is logically segmented by function, project team, or application, without regard to the physical locations of the users. VLANs have the same attributes as physical LANs, but you can group computers even if they are not physically located on the same LAN segment. Any switch port can belong to a VLAN, and unicast, broadcast, and multicast packets are forwarded and flooded only to end stations in the VLAN.

Each VLAN is considered a logical network, and packets destined for stations that do not belong to the VLAN must be forwarded through a router or bridge or layer 3 switches. Because a VLAN is considered a separate logical network.

Here we just configure VLAN on Cisco switch and not talking about VTP, STP, and other advanced Switching techniques. It is the basic VLAN configuration. Read more about VLAN on Cisco Packet Tracer CCNA Lab.

How to Configure VLAN on Cisco Switch?

Let’s start to configure VLAN on Cisco switch using Cisco Packet Tracer. You can download the VLAN Lab or create your lab within Cisco packet tracer or other network simulators.

Configure VLAN on Cisco Switch

Configure VLAN on Cisco Switch

1. Open the VLAN lab and create these three VLAN and named Marketing, Accounting, and Sales. So let’s create them with the following commands.

2. First, change the switch name with “hostname” command.

3. Now create the VLANs using “VLAN” command.

4. Just type the “do sh vlan” command from config mod to see whether VLANs are created or not.

Show Vlan Command

Show VLAN Command

You see the VLANs are created successfully.

5. Now try to add interfaces to each of these VLANs. All the Interfaces ports are within the default VLAN and not yet grouped to Marketing, Accounting, and Sales. So try to add an interface to a VLAN with the “Switchport” command.

I have added the [fastEthernet 0/5] and [fastEthernet 0/6] to VLAN 2 which is our Marketing VLAN. In this method, we add each interface one by one, but you can use “Interface range” command to add a group of ports to a VLAN.

6. Finally type “do sh vlan” and see the result again.

Create and Configure Vlan

Create and Configure VLAN

Now you can set up VLAN on your network Switches. The next step is configuring Inter-VLAN Routing. I hope you find this article helpful and do comment us about the qualities and improvements of Technig articles.

TAGS: , , , , , ,
About this Author

I’m a network and Information Security instructor. Here is my online pictorial notebook. I would like to write and share my experience through this website for computer enthusiasts and technology geeks.

Like us on Facebook
on Facebook

Follow me on Twitter
Follow @technigs on Twitter
Add me on Google+
on Google+

9 Comments so far. Feel free to join this conversation.

  1. Rahul BhisikarJune 25, 2016 at 5:52 pm - Reply

    It’s very very useful article. Thank you very much.

  2. MahamoudJune 27, 2016 at 12:55 pm - Reply

    actually i am beginner, but i never seen any explanation similar to this one and so simple to do it, so helpful. Thank you guys you are the one!

  3. tanzibJuly 28, 2016 at 9:06 am - Reply

    thank u so much

  4. BashirAugust 2, 2016 at 1:56 pm - Reply

    It’s very useful configuration many thanks

  5. Salvahir AmanFebruary 13, 2017 at 10:46 am - Reply

    it is so clear and best explanation ever, keep it up, much more thanks.

  6. aZaRuDdInMarch 19, 2017 at 10:38 am - Reply

    Excellent Explaination

  7. mageSeptember 12, 2017 at 6:18 pm - Reply

    i realy like it

  8. PlatinumSeptember 29, 2017 at 5:30 am - Reply

    Hey there, You have done an excellent job. I will certainly digg it and personally recommend to
    my friends. I am sure they will be benefited from this website.

  9. ShinobiX9XOctober 20, 2017 at 7:19 pm - Reply

    Nicely done, thanks a lot, this will help me!

Leave A Response