0% found this document useful (0 votes)
10 views4 pages

Network Exp5

The document outlines a lab worksheet for configuring and troubleshooting inter-switch connectivity using Cisco switches, focusing on VLANs, trunk ports, and VTP. It details the objectives, apparatus used, commands, and step-by-step configuration procedures for two switches. The learning outcomes emphasize understanding VLAN concepts, configuration, trunking, and troubleshooting in a network environment.

Uploaded by

doktermales
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

Network Exp5

The document outlines a lab worksheet for configuring and troubleshooting inter-switch connectivity using Cisco switches, focusing on VLANs, trunk ports, and VTP. It details the objectives, apparatus used, commands, and step-by-step configuration procedures for two switches. The learning outcomes emphasize understanding VLAN concepts, configuration, trunking, and troubleshooting in a network environment.

Uploaded by

doktermales
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Worksheet 5

Student Name: Shubham Verma UID: 24MCA20376

Branch: MCA Section/Group: 1/A

Semester: 4 Date of Performance: 03-04-2026

Subject Name: Network Administration Lab Subject Code: 24CAP-754

➢ Aim: To configure, verify, and troubleshoot inter-switch connectivity using Trunk Ports, VLANs, VTP
(Version 1 & 2), DTP (Dynamic Trunking Protocol), 802.1Q encapsulation, and Native VLAN on Cisco
switches.

➢ Objective:

• To configure trunk ports between switches for multiple VLAN traffic.


• To create and verify VLANs on Cisco switches.
• To configure Dynamic Trunking Protocol (DTP) for trunk negotiation.
• To configure and verify VTP (Version 1 and Version 2) for VLAN propagation.
• To implement 802.1Q trunk encapsulation between switches.
• To configure Native VLAN on trunk links.
• To add and remove VLANs dynamically and test communication between VLAN devices.

➢ Input/Apparatus Used:

Cisco Packet Tracer: Software tool used for simulating networking environments.

➢ Devices:

• 2 Cisco Switches (2960)


• 4 PCs
• Ethernet Cables

➢ Commands:

• switchport mode trunk


• switchport trunk encapsulation dot1q
• switchport trunk native vlan
• switchport mode access
• vtp domain
• vtp mode
• show vlan brief
• show interfaces trunk
• show vtp status

➢ Procedure/Algorithm/Code:
Steps for Configuration:

Basic Switch Configuration:


Switch 1 (SW1) Configuration
Enter Configuration Mode
enable
conf t
hostname SW1

Create VLANs
vlan 10
name HR
exit
vlan 20
name IT
exit

Assign Ports to VLAN 10


int range fa0/1-4
switchport mode access
switchport access vlan 10
exit
Assign Ports to VLAN 20
int range fa0/5-8
switchport mode access
switchport access vlan 20
exit

Configure Trunk Port (connection to SW2)


Assuming Fa0/24 connects SW1 to SW2
interface fa0/24
switchport mode trunk
switchport trunk native vlan 10
exit

Verify VLANs
show vlan brief
show interfaces trunk

Switch 2 (SW2) Configuration:


Enter Configuration Mode
enable

conf t

hostname SW2

Create VLANs

vlan 10

name HR

exit

vlan 20

name IT

exit

Assign Ports to VLAN 10

int range fa0/1-4

switchport mode access

switchport access vlan 10

exit

Assign Ports to VLAN 20

int range fa0/5-8

switchport mode access

switchport access vlan 20

exit

Configure Trunk Port (connection to SW1)

interface fa0/24

switchport mode trunk

switchport trunk native vlan 10

exit

Verify VLANs
show vlan brief

show interfaces trunk

➢ Test Connectivity
• Assign PCs to the appropriate VLANs and test connectivity between PCs in different VLANs using ping and
Traceroute.
• Verify communication between devices connected to trunked ports.

➢ Output:

➢ Learning outcomes (What I have learnt):

1. Understand the concept of VLANs and how they logically divide a network.
2. Configure VLANs on Cisco switches and assign ports to specific VLANs.
3. Configure trunk ports between switches to allow communication between multiple VLANs.
4. Verify VLAN configuration using commands like show vlan brief.
5. Understand the role of Native VLAN in carrying untagged traffic.
6. Troubleshoot VLAN connectivity issues in a switched network.

You might also like