Cisco: LAB 03 DTP (Dynamic Trunking Protocol)

 


Assalamu'alaikum wr.wb.

Switch Cisco memiliki kemampuan untuk melakukan negosiasi port trunk pada interface menggunakan protokol DTPDTP dapat mempercepat konfigurasi trunk pada switch. DTP adalah protokol yang dimiliki oleh Cisco.

Secara default, interface switch akan berada pada mode dynamic auto. Tetapi jika switch lain yang terhubung ke Cisco switch tidak memiliki support untuk protokol DTP, maka disarankan tidak menggunakan protokol ini. Lebih baik interface langsung ditetapkan pada mode trunk. Karena bisa jadi switch non-Cisco tersebut melakukan forward paket DTP yang tidak sesuai, sehingga menyebabkan kesalahan konfigurasi.

TOPOLOGI:

Pada PC1 kasih IP:192.168.1.2, Pada PC2 kasih IP:192.168.1.3










1. Configurasi seperti dibawah.
Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vl 10
Switch(config-vlan)#name SISWA
Switch(config-vlan)#ex
Switch(config)#int fa0/1
Switch(config-if)#sw acc vl 10
Switch(config-if)#ex
Switch(config)#do write
Building configuration...
[OK]
Switch(config)#do rel
Proceed with reload? [confirm]

 






2. Selanjutnya untuk memasuki mode trunk configurasi seperti dibawah.
Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int fa0/24
Switch(config-if)#sw mod trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
Switch(config-if)#do show int fa0/24 sw

 





3. Selanjutnya untuk memasuki mode dynamic auto ikuti seperti dibawah.
Switch(config-if)#sw mod dynamic auto
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
Switch(config-if)#do show int fa0/24 sw

 







4. Next step untuk memasuki mode dynamic desirable.

Switch(config-if)#sw mod dynamic desirable
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
Switch(config-if)#do show int fa0/24 sw
Switch(config-if)#do rel











5. Setelah sudah mengikuti hingga topologi ke 3 ikuti step ini

Switch>en

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#int fa0/24

Switch(config-if)#sw mod trunk

Switch(config-if)#

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

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

Switch(config-if)#

 TOPOLOGI 2:




1. Lakukan configurasi seperti ini.

Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vl 10
Switch(config-vlan)#name SISWA
Switch(config-vlan)#ex
Switch(config)#int fa0/1
Switch(config-if)#sw acc vl 10
Switch(config-if)#ex
Switch(config)#do write
Building configuration...
[OK]
Switch(config)#do reload
Proceed with reload? [confirm]

2. Selanjutnya configurasi seperti ini untuk ke mode dynamic desirable.

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/24
Switch(config-if)#sw mode dynamic desirable
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
Switch(config-if)#do show int fa0/24 sw

 






3. Selanjutnya config seperti ini.

Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int r fa0/1-24
Switch(config-if-range)#sw mode acc
Switch(config-if-range)#%SPANTREE-2-RECV_PVID_ERR: Received 802.1Q BPDU on non trunk FastEthernet0/24 VLAN1.
%SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/24 on VLAN0001. Inconsistent port type.
Switch(config-if-range)#sw nonegotiate
Switch(config-if-range)#ex
Switch(config)#int fa0/24
Switch(config-if)#sw mod trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
Switch(config-if)#ex
Switch(config)#do sh int fa0/2 sw

 






TOPOLOGI 3:

Pada PC3 kasih IP:192.168.1.4








1. Untuk step ini config seperti di bawah.

Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vl 10
Switch(config-vlan)#name SISWA
Switch(config-vlan)#ex
Switch(config)#int fa0/1
Switch(config-if)#sw acc vl 10
Switch(config-if)#ex
Switch(config)#int fa0/24
Switch(config-if)#sw mode trunk

Coba ping dari PC3 ke PC2 jika seperti di bawah tandanya berhasil.










Saya Fikri menghundurkan diri sekian dari saya semoga Bermanfaat wassalamu'alaikum wr. wb.


1 Komentar

Lebih baru Lebih lama