Free CCNA | DTP/VTP | Day 19 Lab | CCNA 200-301 Complete Course
Table of Contents
Introduction
In this tutorial, we will explore how to analyze and configure Dynamic Trunking Protocol (DTP) and VLAN Trunking Protocol (VTP) on Cisco switches. This guide is designed for those preparing for the CCNA 200-301 exam and will provide you with practical, hands-on experience in configuring these protocols.
Step 1: Set Up Your Lab Environment
-
Download and Install Packet Tracer
- Visit NetAcad to download Packet Tracer.
- Install the application on your computer.
-
Create a New Network Topology
- Open Packet Tracer and create a new project.
- Add at least two Cisco switches to your workspace to practice DTP and VTP configurations.
Step 2: Configure Basic Switch Settings
-
Access the Switch CLI
- Click on the switch and select the CLI tab.
-
Enter Global Configuration Mode
- Type the following command:
enable configure terminal
- Type the following command:
-
Set Hostname for Each Switch
- For Switch 1:
hostname Switch1 - For Switch 2:
hostname Switch2
- For Switch 1:
Step 3: Configure DTP on the Switches
-
Set the Interfaces to Trunk Mode
- On Switch 1, enter the following commands:
interface fa0/1 switchport mode trunk
- On Switch 1, enter the following commands:
-
Verify DTP Status
- To check the DTP status, use the command:
show interfaces trunk
- To check the DTP status, use the command:
-
Tips for DTP Configuration
- Ensure that both ends of the link are configured to trunk mode for proper communication.
- If DTP is not functioning as expected, verify that both switches support DTP.
Step 4: Configure VTP
-
Set VTP Domain Name
- On Switch 1, configure the VTP domain:
vtp domain YourDomainName
- On Switch 1, configure the VTP domain:
-
Set VTP Mode
- Set Switch 1 to server mode:
vtp mode server - On Switch 2, set it to client mode:
vtp mode client
- Set Switch 1 to server mode:
-
Verify VTP Configuration
- Use the following command to check the VTP status:
show vtp status
- Use the following command to check the VTP status:
Step 5: Create VLANs
-
Create VLANs on the VTP Server
- On Switch 1, create a VLAN:
vlan 10 name Sales
- On Switch 1, create a VLAN:
-
Check VLAN Configuration on the Client Switch
- On Switch 2, verify that the VLAN has propagated:
show vlan brief
- On Switch 2, verify that the VLAN has propagated:
Conclusion
This tutorial provided a hands-on approach to configuring DTP and VTP on Cisco switches, essential components for managing VLANs in a network. Ensure you practice these configurations in Packet Tracer to solidify your understanding. For further learning, consider exploring additional CCNA resources, such as Boson NetSim and flashcards for exam preparation.