Konfigurasi PVST+
1. Buka Cisco Packet Tracer
2. Buat skema jaringan seperti di gambar
3. Buatlah VLAN 10, 20, 30, 40, 50, 60, 70, 80 dan 99 pada semua switch.
Switch1>en
Switch1#conf t
Switch1(config)#vlan 10
Switch1(config-vlan)#vlan 20
Switch1(config-vlan)#vlan 30
Switch1(config-vlan)#vlan 40
Switch1(config-vlan)#vlan 50
Switch1(config-vlan)#vlan 60
Switch1(config-vlan)#vlan 70
Switch1(config-vlan)#vlan 80
Switch1(config-vlan)#vlan 99
Switch1(config-vlan)#exit
Switch2>en
Switch2#conf t
Switch2(config)#vlan 10
Switch2(config-vlan)#vlan 20
Switch2(config-vlan)#vlan 30
Switch2(config-vlan)#vlan 40
Switch2(config-vlan)#vlan 50
Switch2(config-vlan)#vlan 60
Switch2(config-vlan)#vlan 70
Switch2(config-vlan)#vlan 80
Switch2(config-vlan)#vlan 99
Switch2(config-vlan)#exit
Switch3>en
Switch3#conf t
Switch3(config)#vlan 10
Switch3(config-vlan)#vlan 20
Switch3(config-vlan)#vlan 30
Switch3(config-vlan)#vlan 40
Switch3(config-vlan)#vlan 50
Switch3(config-vlan)#vlan 60
Switch3(config-vlan)#vlan 70
Switch3(config-vlan)#vlan 80
Switch3(config-vlan)#vlan 99
Switch3(config-vlan)#exit
4. Mengaktifkan mode access pada semua switch dan mendaftarkan vlan - vlan yang telah ditentukan
Switch1(config)#interface f0/6
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 30
Switch1(config-if)#no shutdown
Switch1(config-if)#exit
Switch2(config)#interface f0/18
Switch2(config-if)#switchport mode access
Switch2(config-if)#switchport access vlan 20
Switch2(config-if)#no shutdown
Switch2(config-if)#exit
Switch3(config)#interface f0/11
Switch3(config-if)#switchport mode access
Switch3(config-if)#switchport access vlan 10
Switch3(config-if)#no shutdown
Switch3(config-if)#exit
5. Mengaktifkan mode trunk native VLAN 99 pada semua switch
Switch1(config)#interface range f0/1-4
Switch1(config-if-range)#switchport mode trunk
Switch1(config-if-range)#switchport trunk native vlan 99
Switch1(config-if-range)#exit
Switch2(config)#interface range f0/1-4
Switch2(config-if-range)#switchport mode trunk
Switch2(config-if-range)#switchport trunk native vlan 99
Switch2(config-if-range)#exit
Switch3(config)#interface range f0/1-4
Switch3(config-if-range)#switchport mode trunk
Switch3(config-if-range)#switchport trunk native vlan 99
Switch3(config-if-range)#exit
6. Berikanlah ip address terhadap VLAN 99 pada semua switch
Switch1(config)#interface vlan 99
Switch1(config-if)#ip address 172.31.99.1 255.255.255.0
Switch1(config-if)#exit
Switch2(config)#interface vlan 99
Switch2(config-if)#ip address 172.31.99.2 255.255.255.0
Switch2(config-if)#exit
Switch3(config)#interface vlan 99
Switch3(config-if)#ip address 172.31.99.3 255.255.255.0
Switch3(config-if)#exit
7. Konfigurasi STP dan PVST+ Load Balancing
Switch1(config)#spanning-tree mode pvst
Switch1(config)#spanning-tree vlan 1,10,30,50,70 root primary
Switch2(config)#spanning-tree mode pvst
Switch2(config)#spanning-tree vlan 1,10,20,30,40,50,60,70,80,99 root secondary
Switch3(config)#spanning-tree mode pvst
Switch3(config)#spanning-tree vlan 20,40,60,80,99 root primary
8. Konfigurasi Portfast dan BPDU Guard
Switch1(config)#interface f0/6
Switch1(config-if)#spanning-tree portfast
Switch1(config-if)#spanning-tree bpduguard enable
Switch2(config)#interface f0/18
Switch2(config-if)#spanning-tree portfast
Switch2(config-if)#spanning-tree bpduguard enable
Switch3(config)#interface f0/11
Switch3(config-if)#spanning-tree portfast
Switch3(config-if)#spanning-tree bpduguard enable
9. Konfigurasi ip address pada semua pc
- klik pc 1
- buka tampilan desktop
- klik pada ip configuration
- masukan ip address, subnet mask, dan default gateway nya sesuai pada tabel diatas
====== Thank You =====
Komentar
Posting Komentar