Switch Cisco memiliki kemampuan untuk melakukan negosiasi port trunk pada interface menggunakan protokol DTP. DTP 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
Switch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vl 10Switch(config-vlan)#name SISWASwitch(config-vlan)#exSwitch(config)#int fa0/1Switch(config-if)#sw acc vl 10Switch(config-if)#exSwitch(config)#do writeBuilding configuration...[OK]Switch(config)#do relProceed with reload? [confirm]
Switch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#int fa0/24Switch(config-if)#sw mod trunkSwitch(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 upSwitch(config-if)#do show int fa0/24 sw
Switch(config-if)#sw mod dynamic autoSwitch(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to upSwitch(config-if)#do show int fa0/24 sw
Switch(config-if)#sw mod dynamic desirableSwitch(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 upSwitch(config-if)#do show int fa0/24 swSwitch(config-if)#do rel
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:
Switch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vl 10Switch(config-vlan)#name SISWASwitch(config-vlan)#exSwitch(config)#int fa0/1Switch(config-if)#sw acc vl 10Switch(config-if)#exSwitch(config)#do writeBuilding configuration...[OK]Switch(config)#do reloadProceed with reload? [confirm]
2. Selanjutnya configurasi seperti ini untuk ke mode dynamic desirable.
Switch>enableSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#int fa0/24Switch(config-if)#sw mode dynamic desirableSwitch(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to upSwitch(config-if)#do show int fa0/24 sw
3. Selanjutnya config seperti ini.
Switch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#int r fa0/1-24Switch(config-if-range)#sw mode accSwitch(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 nonegotiateSwitch(config-if-range)#exSwitch(config)#int fa0/24Switch(config-if)#sw mod trunkSwitch(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 upSwitch(config-if)#exSwitch(config)#do sh int fa0/2 sw
TOPOLOGI 3:
1. Untuk step ini config seperti di bawah.
Switch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vl 10Switch(config-vlan)#name SISWASwitch(config-vlan)#exSwitch(config)#int fa0/1Switch(config-if)#sw acc vl 10Switch(config-if)#exSwitch(config)#int fa0/24Switch(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.
keren bang
BalasHapus