首页 > 其他 > 详细

vlamstp的配置

时间:2018-10-12 10:47:48      阅读:184      评论:0      收藏:0      [点我收藏+]
技术分享图片

[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的配置

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!