vlamstp的配置

vlamstp的配置

[sw1]vlan batch 10 20
[sw1]int e0/0/3
[sw1-Ethernet0/0/3]port link-type access

[sw1-Ethernet0/0/3]port default vlan 10

[sw1]int e0/0/4

[sw1-Ethernet0/0/4]port link-type access

[sw1-Ethernet0/0/4]port default vlan 20
[sw2-thernet0/0/1]port link-type trunk
[sw2Ethernet0/0/1]port trunk allow-pass vlan all

[sw2]vlan batch 10 20
[sw2]int e0/0/3
[sw2-Ethernet0/0/3port link-type access
[sw2-Ethernet0/0/3]rt default vlan 10
[sw2]int e0/0/4
[sw2-Ethernet0/0/4]port link-type access
[sw2-Ethernet0/0/4]port default vlan 20
[sw2-thernet0/0/1]port link-type trunk
[sw2Ethernet0/0/1]port trunk allow-pass vlan all

[sw3]vlan batch 10 20
[sw3]interface e0/0/3
[sw3-Ethernet0/0/3]port link-type access
[sw3-Ethernet0/0/3]port default vlan 10

[sw3]interface e0/0/4
[sw3-Ethernet0/0/4] port link-type access
[sw3-Ethernet0/0/4] port default vlan 20
[sw3-Ethernet0/0/1]port link-type trunk
[sw3-Ethernet0/0/1]port trunk allow-pass vlan all
[sw3-Ethernet0/0/2]port link-type trunk
[sw3-Ethernet0/0/2]port trunk allow-pass vlan all
[sw1stp region-configuration
[sw1mst-region]region-name 1808
[sw1- mst-region] 1 vlan 10
[sw1- mst-region] instance 2 vlan 20

[sw1mst-region]active region-configuration

[sw2]stp region-configuration
[sw2-mst-region]region-name 1808
[sw2-mst-region]instance 1 vlan 10
[sw2-mst-region]instance 2 vlan 20
[sw2-mst-region]active region-configuration

[sw3]stp region-configuration
[sw3-mst-region]region-name 1808
[sw3-mst-region]instance 1 vlan 10
[sw3-mst-region]instance 2 vlan 20
[sw3-mst-region]active region-con
[sw3-mst-region]active region-configuration

[sw2]stp instance 1 root secondary
//實例1作爲備根
[sw2]stp instance 2 priority 0
//實例2作爲主根

[sw3]stp instance 1 root primary
實例1作爲主根
[sw3]stp instance 2 priority 4096
實例2作爲備根

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章