fbpx

Category content:

Create VLan

What is a VLAN?

Set of devices within the network that communicates with each other and forms a single local area network. In our concept, by dividing a larger network into smaller networks, each smaller network works like an independent network.

The advantage of this method is reducing excessive network traffic and dividing it into smaller units.
When two devices in the same network send data packets at the same time, the data collides and requires users to wait, we can prevent such collisions by dividing the network.

There is also increased data security and logical partitioning in this method. Each VLAN acts as a single LAN, meaning that partitions do not need to be physically defined, they can be grouped by department, unit, or any other logical topic.

Why would we use a VLAN?

Using it brings many benefits for every company, here are some examples:

  1. Cost reduction: instead of buying several switches and spending a lot of money, we can save money by buying a switch and dividing it into unusual parts.
  2. More flexible: VLANs can be configured based on port, protocol, or subnet, making changes to the network design whenever needed.
  3. Easier control and more monitoring: by dividing workstations into different sections, access to a specific group or a specific user is much faster. When the user moves their desk, we dont need to reconfigure and we can easily make changes through the corresponding panel.

How can we create VLAN?

for creating a VLAN, we can have these minimum parameters:

  • VLAN number
  • VLAN name

 

To create a VLAN, we perform these commands:

  • Switch# configure terminal
  • Switch(config)# vlan vlan_ID
  • Switch(config)# vlan vlan_name
  • Switch# show VLAN [id | name] vlan_name

 

Example :

Now we create vlan SALES, please follow these commands:

  • Switch(config)#Vlan 10
  • Switch(config-vlan)#name SALES
  • Switch(config-vlan)#end
  • Switch#sh vlan Id 10
let’s to see video from our YouTube channel

After that, we must assign some ports to this vlan:

Example :
  • (config)#Int g0/1
  • (config-if)#switchport host
  • (config-if)#switchport access vlan 10
let’s to see video from our YouTube channel

You can find other learning for Cisco by clicking here.

Share :
378
keyboard_arrow_up