You are on page 1of 4

EXPERIMENT – 2.

Student Name: Ayush Sharma UID: 20BCS6550


Branch: CSE-AIML Section/Group:20AIML3-B
Semester: 5
Subject Name: Computer Networks Lab Subject Code: 20CSP-342

1. Aim of the practical:


Implement VLAN and VLAN Trunking protocols

2. Task to be done:
- Implement the VLAN and VLAN Trunking protocols

3. Program Code:

Switch CLI code:


Establishing VLAN Trunk Protocol:

Connection established through VLAN trunk protocol between the PCs


[CONFIGURATION]

VLAN.

- VLAN can be created by VLAN ID and VLAN name.


- Syntax:
- #switch1(config)#vlan 2 // Vlan ID
- #switch1(config-vlan)#vlan accounts // Vlan Name
- Switch(config)#int range fa0/0-2
- Switch(config-if) #switchport access Vlan 2

Switches.

- SwitchA> enable
- SwitchA# configure terminal
- SwitchA(config)# interface fa 0/24
- SwitchA(config-if)#switchport trunk encapsulation dot1q
- SwitchA(config-if)# switchport mode trunk
- SwitchA(config-if)# end

4. Observations/Discussions (For applied/experimental sciences/materials-based labs):

VLAN:
- VLAN is a custom network which is created from one or more local area networks.
- It enables a group of devices available in multiple networks to be combined into one logical network.
- The result becomes a virtual LAN that is administered like a physical LAN.
- The full form of VLAN is defined as Virtual Local Area Network.

VLAN Trunk protocols


- VTP is a Cisco proprietary protocol is used to exchange VLAN information.
- This type of protocol was developed to effectively manage the transfer of frames from different VLANs
on a single physical line.
- The full form of VTP is the VLAN Trucking Protocol.
- Using VTP, you can synchronize VLAN information (like VLAN name or VLAN ID) with switches
into the same VTP domain.

Switch:
- A Switch is a networking device.
- It connects multiple devices together on a single network and routes the information.
- It uses a data link layer to work on.
- The packet switching technique is used to transmit the data packet over the network.

5. Result:
Successfully implemented VLAN and VLAN Trunking protocols

Learning outcomes (What I have learnt):


 Learnt using cisco packet tracer
 To connect the hub, switch, and router to computers the in-cisco packet tracer
 Implementation of VLAN and VLAN trunk protocols.

You might also like