gtag('js', new Date()); gtag('config', 'G-YL6G77W7K6');
Home » Blog » How to Create a VLAN on Cisco Switches

How to Create a VLAN on Cisco Switches

This Article explores creating VLAN’s in 2025 and also guides step by step process of adding Different vlan’s on Cisco Switches.

Learn more about VLAN’S in the shared article here —-

Enterprises adopt strategy of a VLAN by segregating networks and isolating different hosts,servers to maximize network performance.

This is achieved by creating different isolated networks with the help of VLANs

Let’s drill down with the tutorial without delay.

Create VLAN From Scratch on Switches

Creating a Vlan on switches are same – whether you do it a Digital Lab or real production networks (Office Environment, Data Centers, Personal Home Networks )

To Create a VLAN you need to assign ports with specific name and adding into a VLAN.

Ports are physical interfaces on a Switch.

There are 24/48 Ports Cisco switches with different speeds like 1G/10G/25G and 100G.

Types of VLAN

  1. Data VLAN
  2. Voice VLAN
  3. Port Based VLAN
  4. Management VLAN
  5. Native VLAN

I’ll share about these in an another article illustrating in VLAN Guide.

Modes in VLAN

There are different modes of VLAN’s in switching:

  1. Access Mode
  2. Trunk Mode

Access Mode – In Access mode, Individual Interface/Port is connected and assigned to only one Host.

Trunk Mode – In Trunk Mode, an Interface is configured as trunk and will carry forward the traffic to different VLANS.

VLAN Configuration LAB Example

Creating a VLAN

Here, I am creating 2 different VLAN’s naming CYBERNOMADTVINTERNAL and CYBERNOMADTVEXTERNAL

Follow the Commands showcased below.

> enable
#configure terminal
(configure-terminal)#VLAN 20
(configure-terminal)#Name CYBERNOMADTVINTERNAL
(configure-terminal)#end
#write memory

> enable
#configure terminal
(configure-terminal)#VLAN 30
(configure-terminal)#Name CYBERNOMADTVEXTERNAL
(configure-terminal)#end
#write memory

The following showcased above will create you VLAN’s in the Switch VLAN Database and will be visible when you enter the command – #show Vlan brief

Assigning Switch Interfaces to VLAN

Now that you have created a VLAN, now it’s time to assign different ports to VLAN’s which I have created above.

I will assign switch ports/interfaces ranging Gi1/0/1-Gi1/0/5 to CyberNomadTVInternal and Ports Gi1/0/6-Gi1/0/10 to CyberNomadTVExternal

Follow these commands below

#configure terminal
#interface range gi1/0/1-gi1/0/5
#switchport mode access
#switchport access vlan 20
#end
#write memory

#configure terminal
#interface range gi1/0/6-gi1/0/10
#switchport mode access
#switchport access vlan 30
#end
#write memory

You can verify the configuration by entering – #show vlan brief

You can see the assigned interfaces/ports in the respective VLANs in the switch database.

You can also view configuration in the config database by entering – #show running-config

This article had made you create a VLAN and you can test creating multiple VLAN’s on a Cisco Switch.

Share this article on Social Media/Forums/messaging Platforms where everyone can understand and learn Cisco Switching for Free.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top