💡
Network Fundamentals
  • About This Site
  • Network
  • Medium
  • Types of Network:
  • LAN
  • MAN
  • WAN
  • Internet
  • Types of Internet Connections
  • Cable Connection
  • DSL Connection
  • Internet Standard & Protocols
  • Internet Networking Model
  • SNA Networking Model
  • OSI Networking Model
  • TCP-IP Networking Model
  • TCP-IP Layers
  • Application Layer
  • HTTP (Hyper Text Transfer Protocol)
  • Transport Layer
  • TCP (Transmission Control Protocol)
  • Network Layer
  • IP (Internet Protocol)
  • IPv4:
  • IPv4 Address parts
  • IPv4 Address Classes
  • IPv6:
  • Data-Link Layer
  • Physical Layer
  • An Ethernet
  • A SOHO LAN Network
  • An Enterprise LAN Network
  • Physical Layer Standards
  • Data-Link Layer Standards
  • Transmitting Data over Ethernet UTP
  • Transmitting Data over Fiber Optic Cable (using Hot-Pluggable Transceivers)
  • Cabling Pinouts (Ethernet UTP)
  • Cabling Pinouts (Fiber Optic)
  • Ethernet Standards (UTP)
  • Ethernet Standards (Fiber Optic)
  • LAN Data-Link Layer Protocols
  • Ethernet Addressing (MAC)
  • Types of Networking Devices
  • HUB
  • SWITCH
  • CSMA/CD (Carrier Sense Multiple Access / Collision Detection):
  • Lease-Line WAN
  • WAN Data-Link Layer Protocols
  • HDLC Encapsulating and Re-encapsulating
  • Ethernet WAN (EoMPLS)
  • IP Routing (BIG FLOW)
  • Router
  • Subnetting
  • Binary Rules
  • Binary Method Example 1
  • Binary Method Example 2
  • Binary Method Example 3
  • Subnetting Quick Method Rules
  • Subnetting Quick Method Example 1
  • Subnetting BEST Method Rules
  • Subnetting BEST Method Example 1
  • Subnetting BEST Method Example 2
  • Subnetting BEST Method Example 3a
  • Subnetting BEST Method Example 3b
  • Subnetting BEST Method Example 3c
  • Subnetting BEST Method Example 4
  • Dynamic Routing Protocol
  • DNS (Domain Name System)
  • ARP (Address Resolution Protocol)
  • PING (Packet Internet Groper)
  • Cisco OS (IOS)
  • Memory Types
  • Cisco CLI
  • Console Port:
  • Telnet Access (Teletype network) (P No. 23):
  • SSH (Secure Shell) (P No. 22)
  • Console Cabling
  • CLI Modes
  • Securing User Mode and Privileged Mode
  • Securing User & Privileged Mode For Console Users
  • Securing User & Privileged Mode For Telnet Users
  • Securing User & Privileged Mode For SSH Users
  • AAA (Authentication, Authorization and Accounting) Server
  • AAA 802.1x Protocols(Radius & TACACS+)
  • Ethernet LAN Switching
  • VLAN
  • Configuring VLAN
  • VTP (Vlan Trunking Protocol)
  • Trunk Port
  • Trunking Protocol (802.1Q)
  • DTP (Dynamic Trunking Protocol)
  • Voice VLAN
  • Why STP?
  • What STP Does?
  • How STP works?
  • STP Messages (BPDU)
  • Electing a RB (Root Bridge/Switch)
  • Electing One Root Port (on each Non RB)
  • Elect One/Multiple Designated Ports on each Non RB:
  • Changing the STP Settings:
  • STP (Spanning Tree Protocol)
  • STP Convergence (if something changes/link fails):
  • STP (Spanning Tree Protocol) Versions
  • STP/RSTP States:
  • PortFast
  • BPDU Guard
  • RSTP (Rapid Spanning Tree)
  • Port Roles in RSTP
  • RSTP Port States
  • Ether Channel
  • Switched Virtual Interface
  • Half Duplex
  • Full Duplex
  • Autonegotiation
  • Duplex Mismatch:
  • Verifying Duplex Mismatch
  • Number History
  • 10 to the power of x
  • 2 to the power of x
Powered by GitBook
On this page

DTP (Dynamic Trunking Protocol)

PreviousTrunking Protocol (802.1Q)NextVoice VLAN

Last updated 4 years ago

There are 2 ways to configure a Trunk Port. 1. Statically using (#switchport mode trunk) & another is dynamically using DTP (Dynamic Trunking Protocol).

  • DTP auto negotiates between the two trunk ports to form a trunk port. There are 2 modes in DTP. DTP mode auto & DTP mode desirable.

  • In DTP Desirable mode Switch asks first to the other end to form a trunk or else it becomes an Access port.

  • In DTP Auto mode it waits until the other end Switch asks first or else it becomes an Access port.

    Trunk configuration:

  • Select the type of Trunking (802.1Q/ISL/Negotiate (using DTP)):

    • Command is (# switchport trunk encapsulation (/isl/negotiate)

  • Select the Administrative Mode:

    • Always use Trunk (Statically)

      • Command is (# switchport mode trunk)

    • Always not use Trunk

      • Command is (# switchport mode access)

    • Negotiate (Dynamically using DTP)

      • Command is (# switchport mode desirable)

        (asks (negotiates with) the other end to trunk & if negotiation success then it forms a Trunk or else it becomes an access port)

      • Command is (# switchport mode auto)

        (wait until the other end asks (negotiates) to be a trunk or else it becomes an access port)

  • To check Trunk port settings (#show interfaces gigabitEthernet 0/1 switchport)

The individual combinations of port settings lead to following results:

  • dynamic auto + dynamic auto = access

  • dynamic auto + dynamic desirable = trunk

  • dynamic desirable + dynamic desirable = trunk

  • dynamic auto or dynamic desirable + trunk = trunk

  • dynamic auto or dynamic desirable + access = access

Reference:

  • CCNA 200-301 OCG, Volume 1, Pg. 180-183 - Wendell Odom.

dot1q
https://community.cisco.com/t5/switching/why-dtp-is-used/td-p/1377495