Cisco DTP (Dynamic Trunking Protocol) Negotiation
Bismillah, kembali lagi teman-teman kita akan melanjutkan lesson tentang "Cisco DTP". Normalnya DTP itu digunakan di Cisco IOS switches untuk negosiasi apakah port akan menjadi access port atau trunk port. By default interface pada switch itu "dynamic auto".
perhatikan topology DTP negosiasi dibawah ini dan bagaimana cara mendisablenya,
disini kita belum ada config, dan kita coba command "show interface e0/0 switchport" ni dia default nya :
SW#sh int e0/0 sw
Name: Et0/0
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
SW1#sh int e0/0 sw
Name: Et0/0
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Catatan : perhatikan disini Switch IOS secara default administrative mode nya "dynamic auto" atau "dynamic desirable", pada contoh saya ini menggunakan image "System image file is "unix:/opt/gns3/images/IOU/i86bi-linux-l2-adventerprisek9-1" sebagai image di gns3.
ada 2 steps untuk mendisable DTP Negosiasi :
- konfigurasi interface ke mode access
- gunakan command "switchport nonegotiate"
perhatikan konfigurasi dibawah ini :
SW1(config)#int e0/0
SW1(config-if)#sw mod access
SW1(config-if)#end
SW1#sh int e0/0 switch
Name: Et0/0
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
perhtaikan font merah DTP sudah disable, nah next step kita akan melakukakn trunking lagi lakukan pada SW dan SW1.
SW1(config)#int e0/0
SW1(config-if)#sw trunk encap dot1q
SW1(config-if)#sw mod trunk
SW1(config-if)#
*Mar 19 02:37:35.155: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to down
SW1(config-if)#
*Mar 19 02:37:36.936: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
SW1(config-if)#do sh int e0/0 sw
Name: Et0/0
Switchport: Enabled
Administrative Mode: trunk
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)
Administrative Native VLAN tagging: enabled
what ??? setelah kita konfigurasi trunking si DTP nego enable lagi cek teks warna merah, On kan DTP nya, ok kita coba command lain untuk mendisable si DTP nego, jangan lupa lakukan pada kedua switch.
SW1(config-if)#switchport non
SW1(config-if)#switchport nonegotiate
SW1(config-if)#do sh int e0/0 sw
Name: Et0/0
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
oke, sekarang si DTP Nego sudah off, dari blog singkat ini kita udah belajar 2 step untuk mendisable DTP Nego, jika ada pertanyaan silahkan berkomentar.
#ccnpjourney #achievement #2021
Comments
Post a Comment