1. 程式人生 > >GNS3 1.4.0b3 MSTP多生成樹配置實驗

GNS3 1.4.0b3 MSTP多生成樹配置實驗

image idg 生成樹 access switch ping stp 軟件 ati

一、實驗目標

掌握MSTP多生成樹配置,VLAN配置,trunk配置,etherchannel配置

二、實驗平臺

系統:WIN7以上windows,X64版本。CPU支持虛擬化,並在BIOS中開啟虛擬化。內存最好3G以上.

軟件:GNS3 1.4.0b3, VMware Workstation Pro 12,VM虛擬機:GNS3 VM (GNS3:1.4.0b3,VM:0.9.6) ,

IOU: i86bi-linux-l2-adventerprisek9-15.1a.bin

三、實驗拓撲

技術分享圖片技術分享圖片

四、實驗需求

SW1/SW2之間啟用etherchannel。

trunk:SW1-SW2,SW1-SW3,SW2-SW4,SW2-SW3,SW1-SW4.

交換機全部啟用mst生成樹.(name mst,revision 1.)

instance 1:vlan 10

instance 2:vlan 20

SW1: mst 1 root,mst 2 sec

SW2: mst 2 root,mst1 sec

vlan 10:pc1,pc3

vlan 20:pc2,pc4.

五、實驗配置

SW1:

en

conf t

hostname SW1 no ip routing vlan 10 vlan 20 spanning-tree mode mst spanning-tree mst configuration name mst revision 1 instance 1 vlan 10 instance 2 vlan 20 exit spanning-tree mst 1 root pri spanning-tree mst 2 root sec interface Ethernet0/0 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode on interface Ethernet0/1 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode on interface Ethernet0/2 switchport trunk encapsulation dot1q switchport mode trunk interface Ethernet0/3 switchport trunk encapsulation dot1q switchport mode trunk

SW2:

en

conf t

hostname SW2

no ip routing vlan 10 vlan 20 spanning-tree mode mst spanning-tree mst configuration name mst revision 1 instance 1 vlan 10 instance 2 vlan 20 spanning-tree mst 1 root sec spanning-tree mst 2 root pri interface Ethernet0/0 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode on interface Ethernet0/1 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode on interface Ethernet0/2 switchport trunk encapsulation dot1q switchport mode trunk interface Ethernet0/3 switchport trunk encapsulation dot1q switchport mode trunk

SW3:

en

conf t

hostname SW3

no ip routing vlan 10 vlan 20 spanning-tree mode mst spanning-tree mst configuration name mst revision 1 instance 1 vlan 10 instance 2 vlan 20 interface Ethernet0/0 switchport trunk encapsulation dot1q switchport mode trunk interface Ethernet0/1 switchport trunk encapsulation dot1q switchport mode trunk interface Ethernet0/2 switchport access vlan 10 switchport mode access interface Ethernet0/3 switchport access vlan 20 switchport mode access SW4:

en

conf t

hostname SW4 no ip routing vlan 10 vlan 20 spanning-tree mode mst spanning-tree mst configuration name mst revision 1 instance 1 vlan 10 instance 2 vlan 20 interface Ethernet0/0 switchport trunk encapsulation dot1q switchport mode trunk interface Ethernet0/1 switchport trunk encapsulation dot1q switchport mode trunk interface Ethernet0/2 switchport access vlan 10 switchport mode access interface Ethernet0/3 switchport access vlan 20 switchport mode access PC1:ip 192.168.1.1/24 192.168.1.254 PC2:ip 192.168.2.1/24 192.168.2.254 PC3:ip 192.168.1.2/24 192.168.1.254 PC4:ip 192.168.2.2/24 192.168.2.254 配置完畢,PC1和PC3可以ping通,PC2和PC4可以ping通。 SW1是vlan 10的root bridge,SW2是vlan 20的root bridge.

GNS3 1.4.0b3 MSTP多生成樹配置實驗