Free CCNA | DTP/VTP | Day 19 | CCNA 200-301 Complete Course
Welcome to Jeremy’s IT Lab
In this section, Jeremy introduces his IT Lab and the purpose of the video series. He discusses two Cisco proprietary protocols, DTP (dynamic trunking protocol) and VTP (VLAN trunking protocol), which are not included in the new CCNA exam topics but are still important to understand.
Introduction
- Jeremy welcomes viewers to his IT Lab and encourages them to subscribe, like, comment, and share the videos.
- He mentions that this video will cover DTP and VTP, two Cisco proprietary protocols.
- Although these protocols are not on the CCNA exam topics list anymore, it's still important to know their functions as questions about them may appear on the exam.
DTP - Dynamic Trunking Protocol
This section focuses on DTP, a Cisco proprietary protocol that allows switches to dynamically determine their interface status without manual configuration.
Key Points
- DTP is a Cisco proprietary protocol that enables switches to negotiate whether their switchports should be access ports or trunk ports.
- By using DTP, switchports can automatically become access ports or trunks without manually configuring them.
- DTP is enabled by default on all Cisco switch interfaces but should be disabled for security purposes.
- The CLI command
switchport mode dynamicfollowed by eitherautoordesirablesets the trunking mode for dynamic negotiation.
- In dynamic desirable mode, a switchport actively tries to form a trunk with other Cisco switches in certain modes (trunk, dynamic desirable, or dynamic auto).
- In dynamic auto mode, a switchport does not actively try to form a trunk but will form one if connected to another switchport in dynamic desirable mode.
VTP - VLAN Trunking Protocol
This section covers VTP, another Cisco proprietary protocol that allows for centralized VLAN configuration on a server switch.
Key Points
- VTP is a Cisco proprietary protocol that enables the configuration of VLANs on a central switch acting as a server.
- The server switch synchronizes VLAN information with other switches in the network, eliminating the need to configure VLANs on each individual switch.
- It is important to watch until the end of the video for a question from ExSim for CCNA, Boson Software's practice exams widely regarded as the best preparation tool.
Conclusion
In this video, Jeremy introduces his IT Lab and discusses two Cisco proprietary protocols, DTP and VTP. He explains how DTP allows switches to dynamically determine their interface status without manual configuration and how VTP simplifies VLAN configuration by centralizing it on a server switch. Although these protocols are not part of the new CCNA exam topics list, understanding their functions can still be beneficial.
New Section
This section explains the concept of "static access" mode in switch interfaces.
Static Access Mode
- "Static access" refers to an access port that belongs to a single VLAN and does not change unless manually configured differently.
- There are also "dynamic access" ports that automatically assign VLAN based on the MAC address of the connected device, but this is beyond the scope of CCNA.
New Section
This section discusses DTP negotiation and different modes for forming trunk links.
Dynamic Desirable Mode
- An interface in dynamic desirable mode will use DTP negotiation to form a trunk if the connected interface on the other device is in trunk, dynamic desirable, or dynamic auto mode.
- If the other interface is in access mode, it will not form a trunk and will operate as an access port.
Dynamic Auto Mode
- A switchport in dynamic auto mode will not actively try to form a trunk with other Cisco switches but will form a trunk if the connected switchport is actively trying to form a trunk. It forms a trunk with switchports in trunk or dynamic desirable modes.
Dynamic Auto and Access Mode
- Two switchports in dynamic auto mode without any active attempts to form a trunk will both operate as access ports in VLAN1.
New Section
This section explores different scenarios when connecting switchports with different administrative modes.
Manually Configured Trunk vs Manually Configured Access Port
- When a manually configured trunk is connected to a manually configured access port, they operate mismatched in trunk and access modes, resulting in an error and no traffic passing between the switches.
Summary of Operational Modes
- A switchport in dynamic desirable mode will form a trunk with any administrative mode except access.
- DTP does not form a trunk with a router or PC; the switchport remains in access mode. To configure router on a stick, the interface connected to the router must be manually configured as a trunk.
New Section
This section covers additional details about DTP negotiation and recommended configurations.
Disabling DTP Negotiation
- DTP negotiation can be disabled on an interface using the command "switchport nonegotiate". It is recommended to disable DTP on all switchports and manually configure them as access or trunk ports.
- Configuring an access port with "switchport mode access" also disables DTP negotiation on that interface.
Trunk Encapsulation Negotiation
- Switches supporting both dot1q and ISL trunk encapsulations can use DTP to negotiate the encapsulation they will use. The default trunk encapsulation mode is "switchport trunk encapsulation negotiate".
- If manually configuring a trunk interface, it is necessary to change the encapsulation mode to either dot1q or ISL instead of leaving it in negotiate mode. ISL is favored over dot1q if both switches support it.
New Section
This section provides further information about trunking encapsulation negotiation.
VLAN for Trunk Encapsulation Negotiation
- DTP frames used for negotiation are sent in VLAN1 when using ISL or in the native VLAN when using dot1q (defaulted to VLAN1).
Example of Trunking Encapsulation Negotiation
- The output from "SHOW INTERFACES SWITCHPORT" demonstrates the negotiation of trunking encapsulation when interfaces are set to dynamic desirable mode.
DTP and VTP Overview
This section provides an overview of DTP (Dynamic Trunking Protocol) and VTP (VLAN Trunking Protocol), their modes, and their functionalities.
DTP (Dynamic Trunking Protocol)
- DTP is used to negotiate trunk links between switches.
- It has two modes: access mode and trunk mode.
- The "switchport nonegotiate" command can be used to disable DTP negotiation.
- DTP is rarely used in practice.
VTP (VLAN Trunking Protocol)
- VTP allows for centralized VLAN configuration on a server switch.
- Other switches, known as VTP clients, synchronize their VLAN database with the server.
- It is designed for large networks with multiple VLANs to avoid manual configuration on each switch.
- There are three versions of VTP: 1, 2, and 3. Most modern Cisco switches support all three versions.
VTP Modes
Server Mode
- Operates as a VTP server by default.
- Can add, modify, and delete VLANs.
- Stores the VLAN database in non-volatile RAM (NVRAM).
Client Mode
- Synchronizes its VLAN database with the server that has the highest revision number in the domain.
- Cannot add, modify, or delete VLANs unless using VTPv3.
Transparent Mode
- Will be discussed later.
VTP Configuration
This section explains how VTP works and covers important fields in the "SHOW VTP STATUS" command output.
How VTP Works
- Switches exchange VTP advertisements over trunk interfaces.
- Each switch has a domain name that must be configured to enable synchronization among devices within the same domain.
SHOW VPT STATUS Command Output
- The command "SHOW VTP STATUS" provides useful information about VTP configuration.
- The output shows the VTP version, domain name, operating mode, maximum number of VLANs supported, existing VLANs, and revision number.
VTP Domain Configuration
This section demonstrates how to configure the VTP domain name and its impact on VTP synchronization.
Configuring the VTP Domain Name
- All switches within a VTP domain must have the same domain name for synchronization.
- By default, the domain name is NULL.
- Changing the domain name requires using the "VTP DOMAIN" command followed by the desired name.
Impact on Synchronization
- When a VLAN is added or modified, the revision number increases.
- A switch will synchronize with another switch that has a higher revision number in its VTP domain.
- Adding a VLAN increases the revision number and triggers synchronization among switches in the same domain.
New Section
This section discusses the VLAN Trunking Protocol (VTP) and its functionality.
VTP Sync and Dangers
- VTP sync updates VLAN database across switches with higher revision numbers.
- Connecting an old switch with a higher revision number can cause all switches in the domain to sync their VLAN database, potentially causing network connectivity issues.
VTP Transparent Mode
- Switches in VTP transparent mode do not participate in the VTP domain and maintain their own independent VLAN database.
- They can add, modify, or delete VLANs but won't advertise them to other switches.
- Transparent mode switches will forward VTP advertisements over trunk ports if they are in the same domain but won't advertise their own VLAN database.
Comparison of Server, Client, and Transparent Mode
- Server mode allows adding, modifying, and deleting VLANs and advertises them to other switches.
- Client mode only receives advertisements from server mode switches and cannot make changes to the VLAN database.
- Transparent mode maintains its own independent VLAN database but forwards VTP advertisements within the same domain.
Resetting Revision Number
- Changing the VTP domain or switching to transparent mode resets the revision number to 0.
- Resetting the revision number is important when connecting an old switch with a high revision number to avoid overwriting existing VLAN configurations.
Impact on SW4
- SW3 in transparent mode does not forward VTP advertisements to SW4 due to being in a different domain.
- Changing the VTP domain on SW3 back to Cisco will make it start forwarding advertisements to SW4 without syncing its own VLAN database.
VTP Versions
- The VTP version can be changed using the
VTP VERSIONcommand.
- Version 2 introduces support for Token Ring VLANs but is not necessary unless using Token Ring technology.
- Version 3 has significant differences and new features but is beyond the scope of CCNA.
New Section
This section concludes the discussion on VTP and its purpose, highlighting that it may be included in basic exam questions.
Recap of VTP
- VTP is a VLAN Trunking Protocol used to manage VLAN configurations across switches.
- Although not part of the exam topics list, understanding VTP basics can help answer some questions related to its purpose.
Conclusion
- There is more to learn about VTP, but this course covers the essential aspects.
- The focus was on understanding VTP functionality, dangers, transparent mode, revision number reset, and version differences.
- Version 2 is mainly relevant for Token Ring VLANs, while version 3 offers additional features outside the scope of CCNA.
New Section
In this section, the instructor reviews the topics covered in the previous session, including DTP (Dynamic Trunking Protocol) and VTP (VLAN Trunking Protocol). The instructor also introduces a practice quiz question.
Review of DTP and VTP
- DTP is a protocol that allows Cisco switches to form trunk connections with other Cisco switches without manual configuration. However, it is recommended to disable this protocol for security purposes.
- VTP is a Cisco proprietary protocol that allows VLAN configuration on switches operating as central VTP servers. These servers advertise their VLAN database, which can be synced by VTP client switches. Note that VTP only syncs the VLAN database, not interface configurations.
- Although these protocols are no longer on the exam topics list, it is important to understand their basic functions as questions about them may still appear in the exam.
Practice Quiz Question
- Question 1: In a scenario where an old spare switch replaces a failed switch temporarily, and a trunk connection forms between two switches instead of an access connection, the cause could be that interfaces on old switches default to switchport mode dynamic desirable.
New Section
In this section, the instructor presents another quiz question related to configuring VTP modes on switches.
Configuring VTP Modes
- Question 2: To forward VLAN database information from SW1 to SW3 without synchronizing its own VLAN database with SW1, SW2 should be configured with vtp mode transparent. This mode allows forwarding of VTP advertisements without syncing VLAN databases.
Resetting VTP Revision Number
- Question 3: Two methods to reset a switch's VTP revision number to 0 are changing the VTP domain to an unused domain name and changing the switch to VTP transparent mode.
New Section
In this section, the instructor presents a drag-and-drop question related to DTP (Dynamic Trunking Protocol).
DTP Operational Modes
- The chart provided in the video allows viewers to match different DTP operational modes with resulting trunking configurations.
- Access mode and dynamic auto mode result in access ports.
- Access mode and dynamic desirable mode result in access ports.
- Access mode and trunk mode is a misconfiguration that should be avoided.
- Dynamic auto mode and access mode result in an access port.
- Dynamic auto mode and dynamic auto mode result in an access port.
- Dynamic auto mode and dynamic desirable mode result in a trunk port.
- Dynamic auto mode and trunk mode result in a trunk port.
The timestamps provided above are approximate. Please refer to the actual video for precise timestamps.
Trunk and Access Configuration
The speaker discusses trunk and access configurations, emphasizing that the presented configuration is not recommended for real networks.
Trunk Configuration Options
- Trunk and dynamic auto will form a trunk.
- Trunk and dynamic desirable will form a trunk.
- Trunk and trunk will also form a trunk.
Checking the Answer
The speaker demonstrates how to check the answer in the practice exam.
Verifying the Answer
- Click on 'show answer' to reveal the correct answer.
- Next button can be used to move to the next question in the practice exam.
Additional Resources
The speaker provides additional resources related to the topic of Ethernet VLANs.
Recommended Reading
- Official cert guide by Wendell Odom, Volume 1 Chapter 8: Implementing Ethernet VLANs.
- Additional reading materials from Cisco (links provided in video description).
Exam Category
- This question belongs to the 'network access' category of exam topics.
Supplementary Materials
The speaker mentions supplementary materials available for further study.
ExSim Practice Exams
- Highly recommends getting a copy of ExSim practice exams.
- Link provided in video description to obtain ExSim practice exams.
Review Flashcard Deck
- Anki flashcard deck available for review purposes.
- Download link provided in video description.
Packet Tracer Practice Lab
- Separate video with a packet tracer practice lab for practicing configurations discussed in this video.
Acknowledgments and Channel Memberships
The speaker expresses gratitude towards JCNP-level channel members and acknowledges their support.
Thank You Message
- Thanks JCNP-level channel members for their support.
- Mentions the names of channel members who have provided support.
JCNP-level Members
The speaker lists JCNP-level members at the time of recording and acknowledges that recent sign-ups may not be included in the list.
List of JCNP-level Members
- Displays a list of JCNP-level members at the time of recording.
- Acknowledges that recently signed-up members may not be included in the current list.
Conclusion and Call to Action
The speaker concludes the video and encourages viewers to subscribe, like, comment, and share the video with others studying for CCNA.
Final Remarks
- Thanks viewers for watching.
- Encourages subscribing to the channel, liking the video, leaving comments, and sharing it with others studying for CCNA.