Anda di halaman 1dari 2

Materi : STP

1. Siapkan topologi sbb

2. Gunakan tabel berikut sebagai petunjuk


device port Connet-to
Switch 0 Fa 0/1 Switch 1 (fa 0/1)
Fa 0/2 Switch 2 (fa 0/1)
Switch 1 Fa 0/1 Switch 0 (fa 0/1)
Fa 0/2 Switch 3 (fa 0/1)
Fa 0/3 PC 0
Fa 0/4 PC 1
Switch 2 Fa 0/1 Switch 0 (fa 0/2)
Fa 0/2 Switch 3 (fa 0/2)
Fa 0/3 PC 2
Fa 0/4 PC 3
3. Terapkan IP address PC
Device IP address Subnet mask
PC 0 192.168.1.1 255.255.255.0
PC 1 192.168.1.2 255.255.255.0
PC 2 192.168.1.3 255.255.255.0
PC 3 192.168.1.4 255.255.255.0
4. Cek koneksi
- pc 0  pc 2,
- pc 0  pc 3
5. Buat kelompok vlan untuk semua switch
Switch0(config)# vlan 10
Switch0(config-vlan)# name produksi
Switch0(config-vlan)# exit
Switch0(config)# vlan 20
Switch0(config-vlan)# name keuangan
Switch0(config-vlan)# exit
6. Memasukan keanggotan vlan
device port VLAN
Switch 0 Fa 0/1 Trunk
Fa 0/2 Trunk
Switch 1 Fa 0/1 Trunk
Fa 0/2 Trunk
Fa 0/3 10
Fa 0/4 20
Switch 2 Fa 0/1 Trunk
Fa 0/2 Trunk
Fa 0/3 10
Fa 0/4 20
Switch 3 Fa 0/1 Trunk
Fa 0/2 Trunk

7. Setting root priority


Switch0(config) # spanning-tree vlan 10 root primary
Switch0(config) # spanning-tree vlan 20 root secondary

Switch3(config) # spanning-tree vlan 20 root primary


Switch3(config) # spanning-tree vlan 10 root secondary

8. Simulasikan pengiriman data dari


- pc 0 pc 2
- pc 1  pc 3