Lab.4 Dynamic Trunking Protocol (DTP)



Assalamualaikum wr wb.

SMART BLOGGER - Hallo guys, melanjuti lab berikutnya sekarang saya menjelaskan tentang DTP apa itu DTP? DTP singkatan dari Dynamic Trunk Protocol adalah sebuah protocol yang gunanya melakukan proses negosiasi interface trunk yang bersifat dynamic (bisa berubah-ubah sesuai kondisi). negosiasi disini maksudnya jika ada paket broadcast yang menuju sebuah interface, terlebih dulu akan melakukan verifikasi apakah paket trunk/access dapat diterima atau tidak, jika diterima akan diteruskan.

Dynamic Trunking Protocol ada dua macem mode

  1. - Dynamic Auto
  2. - Dynamic Desirable
*Dynamic Auto : tidak menginisialiasi tetapi dia merespon jika paket DTP datang ibaratkan menunggu, menunggu jika ada paket TRUNK
*Dynamic Desirable : menginisialiasi untuk terbentuknya trunk dan juga merespon jika ada paket DTP dari arah lain datang beda dengan Dynami Auto tidak menginisialiasi  tapi hanya menunggu.

Dibawah ini berikut tablenya
cara bacanya gini, jika ada interface yang mengeset mode Dynamic Desirable Access/Trunk maka interface yang di set mode Dynamic Auto maka akan ngikut sama seperti Dynamic Desirable

*Mode default pada interface adalah mode dynamic auto dan operatinal modenya access not trunk
SW-1(config)#do sh interface fa0/1 swi
Name: Fa0/1
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
cara menggantinya seperti ini

*Mode Dynamic Auto
SW-1(config-if)#switchport mode dynamic auto
*Mode Dynamic Desirable
SW-1(config)#interface fa0/1
SW-1(config-if)#switchport mode dynamic desirable

SW-1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

SW-1(config-if)#
SW-1#
%SYS-5-CONFIG_I: Configured from console by console
oh ya DTP juga mengirim hello packet setiap 30 detik dan waktu timeoutnya selamat 300 detik, kalian bisa liat di bawah
SW-1(config-if)#do show dtp
Global DTP information
Sending DTP Hello packets every 30 seconds
Dynamic Trunk timeout is 300 seconds
1 interfaces using DTP
SW-1(config-if)#
*ketika kita mengeset mode dynamic desirable akan berubah mode operational menjadi trunk bisa lihat disini
SW-1(config-if)#switchport mode dynamic desirable

SW-1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

SW-1(config-if)#do show interface fa0/1 switchport
Name: Fa0/1
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false

SW-1(config-if)#
note : bedakan dengan yang di atas yaitu mode dynamic auto

Oke cukup sampe sini aja materi DTP semoga bermanfaat ya terima kasih :)

Waassalamualaikum wr wb

Sumber Ilmu : - Ebook Cisco, Muhgni Ali Mustofa
- Workbook CCNA, Danu Wiyoto

SHARE IS BEAUTYFULL

Get Updates Latest articles directly to Email You

RELATED ARTICLES

Previous
Next Post »

No comments: