vlamstp的配置

网友投稿 251 2022-09-26


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


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:使用本地优先级影响选路
下一篇:利用consul在spring boot中实现分布式锁场景分析
相关文章

 发表评论

暂时没有评论,来抢沙发吧~