×

VLAN Basics

VLAN stands for Virtual Local Area Network. It is a logical group of networking devices that allows a single extended LAN to be partitioned into several separate LANs.

The important feature of VLANs is that it is possible to change the logical topology without changing any addresses.

Advantage of VLAN

A list of advantages of VLANs is given below:

  • It solves the broadcast problem.
  • It makes device management easier.
  • It allows us to add additional layer security.
  • It decreases the size of the broadcast domain.
  • It improves network security.
  • It controls network traffic.

Disadvantage of VLAN

A list of disadvantages of VLANs is given below:

  • It requires significant traffic.
  • Management is complex.
  • It cannot forward traffic to another VLAN.
  • Troubleshooting VLAN becomes more complex.

Types of VLAN

There are the following types of VLANs –

  1. Default VLAN
  2. Data VLAN
  3. Native VLAN
  4. Management VLAN
  5. Voice VLAN

Default VLAN

In Cisco switches, the default VLAN is VLAN 1. VLAN 1 contains all the features of any VLAN, except that you cannot rename or delete the VLAN.

Data VLAN

A data VLAN is also called as user VLAN. It is configured to carry only user-generated traffic.

Native VLAN

A native VLAN is assigned to the 802.1Q trunk port. The 802.1Q trunk port supports traffic coming from many VLANs as well as the traffic that does not come from a VLAN. In short, the native VLAN observes and identifies the traffic coming from each end of a trunk link.

Management VLAN

Management VLAN is configured to access the management capabilities of a switch. Managed VLANs are used to access and manage the switch remotely. It is also used to assign the IP address and subnet mask.

Voice VLAN

A voice VLAN is configured to carry the voice traffic. Voice VLANs mostly provide a transmission priority over the other types of network traffic.

Voice VLANs are used with IP phones.

VLAN ports

There are 2 types of VLAN ports in a switched network:

1) Access ports

 An access port is assigned to only one VLAN. If the VLAN for an access port is not configured, then the interface can carry traffic using the default VLAN, which is generally VLAN1.

To improve the functionality of access ports, the ports should be configured as host ports.

2) Trunk ports

The trunk ports can carry multiple traffic using more than one VLAN. These ports can carry multiple VLANs at a time.

A trunk link is a 100Mbps to 1000Mbps point-to-point link between two switches, a switch and router, or a switch and server.

The following picture explains the difference between the access ports and the trunk ports:

The above image shows the ports on the switches that connect to hosts are configured as access ports. The ports between switches are configured as trunk ports.

VLAN Trunking Protocol (VTP)

VTP is used by Cisco switches to exchange VLAN configuration.

A list of features of VTP is:

  • It provides accurate tracking and monitoring of VLANs.
  • It dynamically adds VLANs to all switches in the VTP domain.
  • It adds VLAN using Plag and Play.
  • It also provides VLAN trunking over a mixed network, such as Ethernet to ATM LANE.

VTP Modes of Operation

There are three different types of modes of operation within the VTP domain:

Server – Server is the default mode for all catalyst switches. A switch using the VTP server mode can create and delete VLANs. Every network requires a VTP server to propagate VLAN information throughout the network.  A server can create, change, and deletes the VLANs

Note: VTP server configurations are saved in the NVRAM on the switch. 

Client – A switch operating in the client mode can’t change its VLAN configuration. We cannot create, update, or delete VLANs on a VTP client. In other words, none of the ports on the client switch can be added to a new VLAN without receiving any authentication or notification from the server’s switch.

Transparent – Switches in transparent mode do not participate in the VTP domain or share its VLAN database, but they forward VTP advertisements through any configured trunk links. The transparent can create, update, and delete VLANs because they keep their own database. The main purpose of transparent mode is to allow remote switches to receive the VLAN database from a VTP server. VTP server configures a switch that is not participating in the same VLAN.

VLAN Basics 1
Note: VLAN learns only normal-range VLANs with VLAN IDs 1 to 1005. VLANs with IDs greater than 1005 are called extended-range VLANs, and they are not stored in the VLAN
database. VLAN IDs 1 and 1002 to 1005 are automatically generated on all switches and can't be removed. 

Related Topics

Switching

A switch is a network device which is used to connect multiple devices (routers, computers) inside the LAN (Local Area Network). It operates at Data Link Layer (Layer 2) of the OSI reference...

3 minutes read.

Configure Hostname

Configure a hostname on a router A hostname is a unique name given to a device (router or switch) on a network and is used to identify one device from another on a specific...

1 minute read.

Data Encapsulation and De-Encapsulation

Data Encapsulation It is the process of adding headers and trailers to data. When a host transmits data to another device over a network, the data is encapsulated, with protocol information...

5 minutes read.

Classes of IP Addresses

Classes of IP Addresses There are following five classes of IP Addresses: Class A – It is used for allocating an IP address.Class B - It is used for allocating an IP address.Class C – It...

6 minutes read.

Configuring IP Routing in Our Network

There are 3 types of IP routing that we can configure in our network. Default RoutingStatic RoutingDynamic Routing Default Routing Default Routing is used to configure unknown destination networks.It is used on stub networks. Stub networks are...

3 minutes read.

Variable Length Subnet Masks (VLSMs)

Variable Length Subnet Masks (VLSMs) A VLSM is a process of allocating IP addresses to the subnets according to the user’s need.VLSM is introduced to avoid the wastage of IP addresses.It allows you to...

3 minutes read.

Internetworking Basics

What is a Network? A network is a group of two or more devices connected by some transmission media, i.e., cables. The purpose of designing a network is to enable the sharing...

4 minutes read.

Cisco IOS Overview

Cisco IOS Overview Cisco Internetwork Operating System (IOS) is a multitasking operating system which controls all functions of Cisco routers and switches. Willaim Yeager wrote the first IOS in 1986.It is used to allocate resources and manages...

2 minutes read.

Configure DHCP

 DHCP DHCP stands for Dynamic Host Configuration Protocol.It is a client server-based architecture which involves DHCP client and DHCP server.It is a messaging system for the communication between the DHCP server and DHCP client.It...

3 minutes read.

Power on a Cisco device

Power on a Cisco device When you power on a new purchased Cisco device for the first time, it performs a power-on-self-test (POST) operation to identify the hardware components and to verify that all...

1 minute read.

Checking Network Connectivity and Troubleshooting

As a Network Engineer, you must know that how to check network connectivity and troubleshoot a network. There are following commands are used in the network to check and troubleshoot the network connectivity – 1)...

3 minutes read.

Download and Install the Cisco Packet Tracer

Download and Install the Cisco Packet Tracer Step1: -Download Cisco Packet Tracer from the link given below: https://arief-jr.blogspot.com/2016/01/download-cisco-packet-tracer-62-for.html Here we will download Cisco packet tracer for Windows OS, so for Windows, go for...

1 minute read.

Getting familiar with the IOS modes

  There are following primary modes of operation in IOS. Setup ModeUser Exec ModePrivileged Exec ModeGlobal Configuration ModeInterface Configuration ModeRommon Mode Setup Mode In router or switches, all configurations are saved in NVRAM.If there is no...

3 minutes read.

Configure IP Routing

IP Routing stands for “Internet Protocol Routing.”It is the process of sending packets (data) from a source network to a destination network.In IP Routing, routers select the best route for a data packet from the...

2 minutes read.

Types of Spanning Tree Protocol

There are the following types of Spanning Tree Protocol – 1. Common Spanning Tree (802.1D) A Common Spanning Tree (802.1D) standard is developed by IEEE which elects only one Root Bridge for the...

2 minutes read.

EIGRP Basics

EIGRP stands for Enhanced Interior Gateway Routing Protocol. It is also called as the Hybrid routing protocol. It contains the features of both distance vector and link-state routing protocols. Characteristics of EIGRP There are the...

5 minutes read.

Ethernet Networks in Review

Ethernet Networks in Review Today, Ethernet is the most used technology for the LANs. It is described as IEEE 802.3 standard. Ethernet is a connection-based media access method i.e., Carrier Sense...

2 minutes read.

Configuring OSPF

Consider the topology given below – The initial IP configuration table is given below: Devices Interface IP address Router1 ...

2 minutes read.

VLAN Basics

VLAN stands for Virtual Local Area Network. It is a logical group of networking devices that allows a single extended LAN to be partitioned into several separate LANs. The important feature of...

4 minutes read.

IP Addressing

IP Addressing IP Addressing is designed to allow hosts on a network to communicate with another host on a different network. There are two types of IP address: IPv4 IPv4 addresses are 32-bits long. It allows...

2 minutes read.