Konfigurasi PVST+
Skema Jaringan
PC 1
Ip address : 172.31.10.21
Subnetmask : 255.255.0.0
PC 2
Ip address :172.31.10.22
Subnetmask : 255.255.0.0
PC 3
Ip address: 172.31.10.23
Subnetmask : 255.255.0.0
S1(config)# 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
Konfigurasikan pada semua switch seperti contoh
Mengaktifkan mode access pada S1, S2, S3 dan mendaftarkan access vlan yang telah di tentukan
S1(config)# interface f0/6
S1(config-if)# switchport mode access
S1(config-if)# switchport access vlan 30
S1(config-if)# no shutdown
S2(config)# interface f0/18
S2(config-if)# switchport mode access
S2(config-if)# switchport access vlan 20
S2(config-if)# no shutdown
S3(config)# interface f0/11
S3(config-if)# switchport mode access
S3(config-if)# switchport access vlan 10
S3(config-if)# no shutdown
Mengaktifkan mode trunk native VLAN99 pada S1, S2, S3
S1(config)# interface range f0/1-4
S1(config-if-range)# switchport mode trunk
S1(config-if-range)# switchport trunk native vlan 99
S2(config)# interface range f0/1-4
S2(config-if-range)# switchport mode trunk
S2(config-if-range)# switchport trunk native vlan 99
S3(config)# interface range f0/1-4
S3(config-if-range)# switchport mode trunk
S3(config-if-range)# switchport trunk native vlan 99
Berikan IP Address terhadap VLAN 99 Pada S1, S2, S3
S1(config)# interface vlan99
S1(config-if)# ip address 172.31.99.1 255.255.255.0
S2(config)# interface vlan99
S2(config-if)# ip address 172.31.99.2 255.255.255.0
S3(config)# interface vlan99
S3(config-if)# ip address 172.31.99.3 255.255.255
Konfigurasikan STP dan PVST+ Load Balancing, S1 prioritas VLAN 1, 10, 30, 50, 70. S2 secondary untuk semua VLAN. S3 prioritas VLAN 20, 40, 60, 80 dan 99.
S1(config)# spanning-tree mode pvst
S1(config)# spanning-tree vlan 1, 10, 30, 50, 70 root primary
S2(config)# spanning-tree mode pvst
S2(config)# spanning-tree vlan 1, 10, 20, 30, 40, 50, 60, 70, 80, 99 root primary
S3(config)# spanning-tree mode pvst
S3(config)# spanning-tree vlan 20, 40, 60, 80 root primary
Konfigurasikan Portfast dan BPDU Guard
S1(config) interface f0/6
S1(config) spanning-tree portfasr
S1(config)# spanning-tree bpduguard enable
S2(config) interface f0/18
S2(config) spanning-tree portfasr
S2(config)# spanning-tree bpduguard enable
S3(config) interface f0/11
S3(config) spanning-tree portfasr
S3(config)# spanning-tree bpduguard enable
Komentar
Posting Komentar