華為mstp實驗
實驗要求:
配置mstp實現
vlan10的流量通過路徑s3到s1到r1
vlan20的流量通過路徑s3到s2到r1
實驗拓撲:
實驗命令:
1.配置ip:略
2.配置vlan和trunk。
sw1:
[sw1]vlan batch 10 20
[sw1]int e0/0/2
[sw1-ethernet0/0/2]port link-type trunk
[sw1-ethernet0/0/2]port trunk allow- vlan all
[sw1-ethernet0/0/2]int e0/0/3
[sw1-ethernet0/0/3]port link-type trunk
[sw1-ethernet0/0/3]port trunk allow- vlan all
[sw1-ethernet0/0/3]int e0/0/1
[sw1-ethernet0/0/1]port link-type hybrid
[sw1-ethernet0/0/1]port hybrid untagged vlan 10
[sw1-ethernet0/0/1]port hybrid pvid 10
sw2:
[sw2]vlan batch 10 20
[sw2-ethernet0/0/2]port link-type trunk
[sw2-ethernet0/0/2]port trunk allow-pass vlan all
[sw2-ethernet0/0/2]int e0/0/3
[sw2-ethernet0/0/3]port link-type trunk
[sw2-ethernet0/0/3]port trunk allow-pass vlan all
[sw2-ethernet0/0/3]int e0/0/1
[sw2-ethernet0/0/1]port link-type hybrid
[sw2-ethernet0/0/1]port hybrid pvid vlan 20
[sw2-ethernet0/0/1]port hybrid untagged vlan 20
sw3:
[sw3]int e0/0/1
[sw3-ethernet0/0/1]port link-type trunk
[sw3-ethernet0/0/1]port trunk allow-pass vlan all
[sw3-ethernet0/0/1]int e0/0/2
[sw3-ethernet0/0/2]port link-type trunk
[sw3-ethernet0/0/2]port trunk allow-pass vlan all
[sw3-ethernet0/0/3]int e0/0/3
[sw3-ethernet0/0/3]port link-type access
[sw3-ethernet0/0/3]port default vlan 10
[sw3-ethernet0/0/3]int e0/0/4
[sw3-ethernet0/0/4]port link-type access
[sw3-ethernet0/0/4]port default vlan 20
3.配置mstp。
sw1:
[sw1]stp mode mstp
[sw1]stp region-configuration
[sw1-mst-region]region-name benet.com
[sw1-mst-region]revision-level 1
[sw1-mst-region]instance 1 vlan 10
[sw1-mst-region]instance 2 vlan 20
[sw1-mst-region]active region-configuration
[sw1-mst-region]q
[sw1]stp instance 1 root primary
[sw1]stp instance 2 root secondary
sw2:
[sw2]stp mode mstp
[sw2]stp region-configuration
[sw2-mst-region]region-name benet.com
[sw2-mst-region]revision-level 1
[sw2-mst-region]instance 1 vlan 10
[sw2-mst-region]instance 2 vlan 20
[sw2-mst-region]active region-configuration
[sw2-mst-region]q
[sw2]stp instance 1 root secondary
[sw2]stp instance 2 root primary
sw3:
[sw3]stp mode mstp
[sw3]stp region-configuration
[sw3-mst-region]revision-level 1
[sw3-mst-region]instance 1 vlan 10
[sw3-mst-region]instance 2 vlan 20
[sw3-mst region]active region-configuration
驗證:
華為MSTP協議
實驗拓撲 實驗要求 利用mstp實現vlan10和vlan20互訪 實驗步驟 1.配置客戶端和路由ip r1 r1 int g0 0 0 r1 gigabitethernet0 0 0 ip add 192.168.10.254 24 r1 gigabitethernet0 0 0 undo sh ...
實驗十九MSTP
1 每乙個交換機都建立vlan2 20,vlan2 10走sw3 sw1,vlan11 20走sw3 sw2 2 將每乙個線路的介面都設定為trunk,並且允許所有的vlan通過 3 配置mstp sw1的配置 sysname huawei vlan batch 2 to 20 stp mode s...
華為 MSTP多生成樹協議
mstp多生成樹協議 1 mstp multiple spanning tree protocol 概述 mstp是乙個公有生成樹協議,在實際生產環境中得到了廣泛的應用。傳統的生成樹只執行乙個例項,且收斂速度慢,rstp在傳統的stp基礎上通過改進達到了加速網路拓撲收斂的目的,但是仍然有缺陷,由於s...