VLAN
VLAN
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.
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.
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.