0% found this document useful (0 votes)
5 views

VLAN

Uploaded by

farukhkhann.1162
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

VLAN

Uploaded by

farukhkhann.1162
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

VLAN:

o VLAN stands for Virtual Local Area Network.


o VLAN is a logical grouping of networking devices.
o Break large broadcast domain in smaller broadcast domains.
o VLANs divide the switch into different LAN segments.
o Consider Virtual Local Area Network (VLAN) as a subnet.
o Two different subnets cannot communicate each other without router.
o Two different VLANs also requires router to communicate.
o VLAN used in Switches and it operates at Layer 2.
o By default, in every switch there is five VLANs.
o VLAN 1 is the default VLAN for every switch port.
o The standard VAN range is from VLAN 1 to 1005.
o The Extended VLAN range is from VLAN 1006 – 4094.
o Extended-range are store in running configuration.
o VTP version 3 and transparent mode support extended-range.
o The reserved VLAN range is from VLAN 1002-1005.
o VLANs 1, 1002 to 1005 are created automatically & cannot be removed.
o Voice VLAN enables the access port to carry IP voice traffic.
o By default, in every cisco Switch the voice VLAN is disabled.
o VLANs are stored in Cisco Switch vlan.dat file in Flash Memory.

VLAN Analogy:
o Partition hard disks on a computer into several logical partitions.
o The main purpose of hard disks partition is to organize the disk space.
o It ensure that corruption of partition does not affect another partition.
o Like a big room separated by partitions to make them two houses for use.
o VLAN is like as big office separated by partitions makes in many offices.
o It is like a big classroom, divide into many section such as Class A, B, C etc.

Advantage of VLAN:
o Solve broadcast problem.
o Reduce the size of broadcast domains.
o Allow us to add additional layer of security.
o Make device management easier.
o Implement logical grouping of devices by function.

1 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717


Type of VLAN Descriptions
Data Use for normal data
Voice Use for IP phone/Voice over IP
Private Use for security, it divided primary and secondary VLAN
Management A VLAN which is used for Telnet and SSH configuration
Extended Usable if VTP mode is transparent on switches
Native VLAN Untagged frame is send over trunk link (by default VLAN1)

Access Port:
o Access port transports traffic to and from only the specified VLAN allotted to it.
o Access port will only have a single VLAN set up on the interface.
o Access port carries traffic for just a single Virtual Local Area Network (VLAN).
o If VLAN is not configured, the interface can carry traffic for default VLAN that is VLAN1.
Commands Description
SW1(config)# interface ethernet0/3 Enter interface mode
SW1(config-if)# switchport access vlan 10 Places the interface e0/3 in vlan 10
SW1(config-if)# switchport mode access Defines the port as an access port

VLAN Database:
o The VLAN database is used to store vlan data, such as the VLAN ID, name and MTU.
o The default location of the VLAN database is in the local vlan.dat file.
o VLAN database is stored in non-volatile memory, which is flash.
Commands Description
SW1#dir | SW1#show flash Verify VLAN database
SW1#more unix:/vlan.dat-00004 To read VLAN database
SW1#delete unix:/vlan.dat-00004 Delete VLAN database

Normal VLAN:
o Normal VLANs range are from VLANs 1 to VLAN 1005.
o Normal VLANs can be configured both database configuration mode & global.
o Normal VLANs are stored in vlan.dat file in Flash memory.
o VTP versions 1 and 2 can advertise normal range VLANs only.

2 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717


Extended VLANs:
o Extended VLANs are VLANs that fall in the range 1006 to 4094.
o Extended VLAN are mainly used in service provider networks.
o Extended VLAN allow for the provisioning of large numbers of customers.
o Extended VLANs differ from normal VLANs because they have higher numbers.
o Extended VLANs must be configured in VTP transparent mode or VTP V3.
o Extended VLANs are saved and store in switch running-configuration.

Voice VLAN:
o Voice VLAN enables access port to carry IP voice traffic from an IP phone.
o Voice VLAN feature enables access ports to carry IP voice traffic.
o The voice VLAN feature is supported only on access ports.
o The Voice VLAN is also known as the Auxiliary VLAN (AUX VLAN).
o By default, in Cisco Switch the voice VLAN is disabled.

3 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717


Commands Description
SW1(config)#vlan 10 Create a VLAN
SW1(config-vlan)#name HR Name VLAN
SW1(config)# no vlan 10 Delete VLAN
SW1# show vlan brief Verify VLAN creation
SW1# show flash OR dir Verify VLAN database
SW1(config)#vlan 5 Configure a Voice VLAN
SW1(config-vlan) # name Voice Name voice VLAN
SW1(config)#interface e0/1 Interface mode
SW1(config-if)#switchport voice vlan 5 Put the interface in voice VLAN 5
SW1# show interface e0/1 switchport Verify switchport configuration
SW1# show interface e 0/1 status Determine the physical status

4 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717


5 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717

You might also like