Ini Dia Topologi nya
Gambar topologi jaringan |
Langkah-lagkah :
Konfigurasi Pada Switch1
S1>enable
S1#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
S1#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#hostname S1
S1(config)#int f0/6
S1(config-if)#switchport mode access
S1(config-if)#no shutdown
S1(config)#int f0/6
S1(config-if)#switchport mode access
S1(config-if)#no shutdown
S1(config-if)#vlan
10
S1(config-vlan)#vlan 20
S1(config-vlan)#vlan 30
S1(config-vlan)#vlan 40
S1(config-vlan)#vlan 50
S1(config-vlan)#vlan 60
S1(config-vlan)#vlan 70
S1(config-vlan)#vlan 80
S1(config-vlan)#vlan 99
S1(config-vlan)#exit
S1(config)#int f0/6
S1(config-vlan)#vlan 20
S1(config-vlan)#vlan 30
S1(config-vlan)#vlan 40
S1(config-vlan)#vlan 50
S1(config-vlan)#vlan 60
S1(config-vlan)#vlan 70
S1(config-vlan)#vlan 80
S1(config-vlan)#vlan 99
S1(config-vlan)#exit
S1(config)#int f0/6
S1(config-if)#switchport
access vlan 30
S1(config-if)#end
S1(config-if)#end
S1#Show vlan
brief
S1#config terminal
S1(config)#int range f0/1-4
S1#config terminal
S1(config)#int range f0/1-4
S1(config-if-range)#switchport
mode trunk
S1(config-if-range)#switchport
trunk native vlan 99
S1(config-if-range)#exit
S1(config)#int
vlan 99
S1(config-if)#ip
address 172.31.99.1 255.255.255.0
S1(config-if)#end
S1(config-if)#end
Konfigurasi Spanning-tree PVST
S1#config terminal
S1(config)#spanning-tree
mode pvst
Konfigurasi Load
Balancing
S1(config)#spanning-tree
vlan 1,10,30,50,70 root primary
S1(config)#end
S1#show
spanning-tree
Konfigurasi
Portfas
S1(config)#config terminal
S1(config)#int
f0/6
S1(config-if)#spanning-tree
portfast
S1(config-if)#exit
Konfigurasi BDPU Guard
S1(config)#int f0/6
S1(config-if)#spanning-tree bpduguard enable
S1(config)#int f0/6
S1(config-if)#spanning-tree bpduguard enable
S1(config-if)#end
S1#show running-config
Konfigurasi Pada Switch2
S2>enable
S2>enable
S2#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#hostname S2
S2(config)#int f0/18
S2(config)#int f0/18
S2(config-if)#switchport
mode access
S2(config-if)#no
shutdown
S2(config-if)#vlan
10
S2(config-vlan)#vlan 20
S2(config-vlan)#vlan 30
S2(config-vlan)#vlan 40
S2(config-vlan)#vlan 50
S2(config-vlan)#vlan 60
S2(config-vlan)#vlan 70
S2(config-vlan)#vlan 80
S2(config-vlan)#vlan 99
S2(config-vlan)#exit
S2(config)#int f0/18
S2(config-vlan)#vlan 20
S2(config-vlan)#vlan 30
S2(config-vlan)#vlan 40
S2(config-vlan)#vlan 50
S2(config-vlan)#vlan 60
S2(config-vlan)#vlan 70
S2(config-vlan)#vlan 80
S2(config-vlan)#vlan 99
S2(config-vlan)#exit
S2(config)#int f0/18
S2(config-if)#switchport
access vlan 20
S2(config-if)#end
S2#config terminal
S2(config-if)#end
S2#config terminal
S2(config)#int range f0/1-4
S2(config-if-range)#switchport
mode trunk
S2(config-if-range)#switchport trunk native vlan 99
S2(config-if-range)#exit
S2(config-if-range)#switchport trunk native vlan 99
S2(config-if-range)#exit
S2(config)#int
vlan 99
S2(config-if)#ip
add 172.31.99.2 255.255.255.0
S2(config-if)#end
S2(config-if)#end
Konfigurasi Spanning-tree PVST+
S2#config terminal
S2(config)#spanning-tree
mode pvst
Konfigurasi
Load Balancing
S2(config)#spanning-tree
vlan 1,10,20,30,40,50,60,70,80,99 root secondary
Konfigurasin Portfast
S2(config)#config terminal
S2(config)#int
f0/18
S2(config-if)#spanning-tree portfast
S2(config-if)#spanning-tree portfast
Konfigurasi BDPU Guard
S2(config)#int
f0/18
S2(config-if)#spanning-tree bpduguard enable
S2(config-if)#spanning-tree bpduguard enable
S2#show running-config
Konfigurasi Pada Switch3
S3>enable
S3#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
S3#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
S3(config)#hostname S3
S3(config)#int f0/11
S3(config-if)#switchport mode access
S3(config-if)#no shutdown
S3(config)#vlan 10
S3(config-vlan)#vlan 20
S3(config-vlan)#vlan 30
S3(config-vlan)#vlan 40
S3(config-vlan)#vlan 50
S3(config-vlan)#vlan 60
S3(config-vlan)#vlan 70
S3(config-vlan)#vlan 80
S3(config-vlan)#vlan 99
S3(config-vlan)#exit
S3(config)#int f0/11
S3(config-if)#switchport access vlan 10
S3(config-if)#end
S3(config)#int f0/11
S3(config-if)#switchport mode access
S3(config-if)#no shutdown
S3(config)#vlan 10
S3(config-vlan)#vlan 20
S3(config-vlan)#vlan 30
S3(config-vlan)#vlan 40
S3(config-vlan)#vlan 50
S3(config-vlan)#vlan 60
S3(config-vlan)#vlan 70
S3(config-vlan)#vlan 80
S3(config-vlan)#vlan 99
S3(config-vlan)#exit
S3(config)#int f0/11
S3(config-if)#switchport access vlan 10
S3(config-if)#end
S3#config terminal
S3(config)#int range f0/1-4
S3(config-if-range)#switchport mode trunk
S3(config-if-range)#switchport mode trunk
S3(config-if-range)#switchport
trunk native vlan 99
S3(config)#exit
S3(config)#int vlan 99
S3(config-if)#ip
add 172.31.99.3 255.255.255.0
S3(config-if)#end
S3(config-if)#end
Konfigurasi Spanning-tree PVST+
S3#config terminal
S3#config terminal
S3(config)#spanning-tree mode pvst
Konfigurasi Load Balancing
Konfigurasi Load Balancing
S3(config)#spanning-tree vlan 20,40,60,80,99 root primary
S3(config)#exit
S3(config)#exit
Konfigurasin Portfast
S3#config terminal
S3(config)#int
f0/11
S3(config-if)#spanning-tree portfast
S3(config-if)#spanning-tree portfast
S3(config-if)#exit
Konfigurasi BDPU Guard
Konfigurasi BDPU Guard
S3(config)#int f0/11
S3(config-if)#spanning-tree bpduguard enable
S3(config-if)#spanning-tree bpduguard enable
S3#show running-config