码迷,mamicode.com
首页 > 其他好文 > 详细

vlamstp的配置

时间:2018-10-12 11:01:10      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:实例   png   sha   ext   src   9.png   51cto   images   vpd   

技术分享图片

[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作为备根

vlamstp的配置

标签:实例   png   sha   ext   src   9.png   51cto   images   vpd   

原文地址:http://blog.51cto.com/13935936/2299003

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!